aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-097-25/+36
* All test cases for `exists?` places in `finder_test.rb` to ease to find the t...Ryuta Kamizono2017-10-092-26/+26
* Remove meaningless named `construct_relation_for_association_calculations`Ryuta Kamizono2017-10-092-6/+3
* Fix `relation.exists?` with has_many through associationsRyuta Kamizono2017-10-092-4/+12
* Fix typo in loading error messageyuuji.yaginuma2017-10-091-1/+1
* Merge pull request #30757 from jeremy/optional-dependency-hellscapeJeremy Daer2017-10-082-4/+16
|\
| * Distinguish missing adapter gems from load errors within the adapterJeremy Daer2017-10-082-4/+16
* | Remove passing redundant `self` to internal `apply_join_dependency` etcRyuta Kamizono2017-10-091-13/+12
|/
* Decouple building `AliasTracker` from `JoinDependency`Ryuta Kamizono2017-10-087-17/+16
* Merge pull request #30809 from meganemura/use-calleeRafael França2017-10-051-1/+1
|\
| * Use __callee__ to pass alias instead of original method namemeganemura2017-10-051-1/+1
* | Move duplicated code to `delete_or_destroy` in `CollectionAssociation`Ryuta Kamizono2017-10-061-4/+2
* | Add JSON attribute test cases for SQLite3 adapterRyuta Kamizono2017-10-054-1/+33
* | Extract repeatedly appeared prepending compatible table definitionRyuta Kamizono2017-10-051-25/+24
|/
* Cleanup CHANGELOGs [ci skip]Ryuta Kamizono2017-10-041-11/+11
* Prefer official name PostgreSQL over PostgresRyuta Kamizono2017-10-041-2/+2
* Ensure `AliasTracker` respects a custom table nameRyuta Kamizono2017-09-303-6/+10
* Merge pull request #30471 from dylanahsmith/remove-redundant-trackerAaron Patterson2017-09-272-24/+10
|\
| * activerecord: Remove a redundant mutation trackerDylan Thacker-Smith2017-08-302-24/+10
* | Add test case for `arel_attribute` with a custom tableRyuta Kamizono2017-09-272-1/+5
* | `Postgres::OID::Range` serializes to a `Range`, quote in `Quoting`Thomas Cannon2017-09-265-2/+81
* | Remove unused `cached_columns` and `time_related_columns_on_topic` in `Attrib...Ryuta Kamizono2017-09-271-8/+0
* | Don't generate `foreign_type` if `options[:polymorphic]` is not givenRyuta Kamizono2017-09-271-1/+1
* | Treat `Set` as an `Array` in `Relation#where`Sean Griffin2017-09-263-0/+19
* | PERF: Partially recover some performance when preloading.Guo Xiang Tan2017-09-264-15/+13
* | Merge pull request #30705 from frodsan/use-digest-thread-safeMatthew Draper2017-09-261-1/+1
|\ \
| * | Preload digest/sha2 to avoid thread safe error.Francesco Rodriguez2017-09-251-1/+1
* | | PERF: Restore memoization when preloading associations.Guo Xiang Tan2017-09-251-6/+5
|/ /
* | Unneeded Mocha stubs for Kernel#systemAkira Matsuda2017-09-251-2/+0
* | Extract `integer_like_primary_key_type` to ease to handle it for adaptersRyuta Kamizono2017-09-254-17/+18
* | Move integer-like primary key normalization to `new_column_definition`Ryuta Kamizono2017-09-236-38/+28
* | Adding legacy primary key should be compatibleRyuta Kamizono2017-09-232-0/+70
* | Ensure `1 AS one` for SQL Server with calculations.Ken Collins2017-09-221-1/+1
* | Prevent extra `column_for` for `change_column_{default,null,comment}`Ryuta Kamizono2017-09-231-7/+4
* | `index_name` should be quotedRyuta Kamizono2017-09-221-1/+1
* | Return nil if table comment is blankRyuta Kamizono2017-09-222-2/+2
* | Implement change_table_comment and change_column_comment for MySql AdapterAlecs Popa2017-09-222-0/+32
* | Merge pull request #24199 from meinac/fix_invert_add_indexRyuta Kamizono2017-09-213-2/+13
|\ \
| * | Use algorithm while removing index with db:rollbackMehmet Emin İNAÇ2017-09-213-2/+13
* | | Fix "warning: `*' interpreted as argument prefix"yuuji.yaginuma2017-09-211-5/+5
|/ /
* | Merge pull request #30619 from jagthedrummer/jeremy/instrumentation-payload-n...Eileen M. Uchitelle2017-09-203-4/+83
|\ \
| * | Update payload names for `sql.active_record` to be more descriptive.Jeremy Green2017-09-203-4/+83
* | | make create_join_table compatible.Yuki Masutomi2017-09-202-0/+45
* | | Merge pull request #30656 from yskkin/add_column_docRyuta Kamizono2017-09-201-0/+2
|\ \ \
| * | | Add :comment option for add_column [ci skip]Yoshiyuki Kinjo2017-09-201-0/+2
| |/ /
* | | Merge pull request #26707 from jcoleman/add_attribute_names_cache_busting_specRyuta Kamizono2017-09-181-0/+2
|\ \ \
| * | | Add test validating that Model.attribute_names cache is bustedJames Coleman2016-10-041-0/+2
* | | | Remove unused delegation to `reflection.options` in `Preloader::Association`Ryuta Kamizono2017-09-182-4/+1
* | | | The name of the key on the associated record is abstracted as `reflection.joi...Ryuta Kamizono2017-09-185-23/+14
* | | | The name of the key on the owner is abstracted as `reflection.join_foreign_key`Ryuta Kamizono2017-09-184-17/+5