aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add method_call_assertions and use them instead of Mochautilum2018-08-131-2/+3
* Don't share seen object cache between different join nodes in eager loadingRyuta Kamizono2018-07-031-0/+18
* Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-191-2/+44
* Can preload associations through polymorphic associationsDana Sherson2018-04-201-0/+29
* Don't unset foreign key when preloading missing recordEugene Kenny2018-03-241-0/+2
* Eager loading with polymorphic associations should behave consistentlyRyuta Kamizono2018-03-041-2/+4
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-12/+12
* Fix newly added reflection order when redefining associationRyuta Kamizono2018-01-041-1/+1
* Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-141-1/+1
* try using regexesBen Toews2017-11-091-10/+10
* allow table name and direction in string order argBen Toews2017-11-091-39/+39
* work around deprecation warnings in a bunch of testsBen Toews2017-11-091-52/+52
* Add a test case that eager-loading with a polymorphic association and using `...Ryuta Kamizono2017-10-161-0/+4
* Don't expose `find_all_ordered` utility method in testsRyuta Kamizono2017-09-021-4/+5
* Fix preloading through association with custom scopeRyuta Kamizono2017-09-021-0/+5
* Add a test case for preloading through association with implicit sourceRyuta Kamizono2017-09-021-0/+8
* Should work inverse association when eager loadingRyuta Kamizono2017-08-251-0/+6
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix eager loading association with scope including joinsRyuta Kamizono2017-07-041-0/+1
* Fix preloading association with scope including joinsRyuta Kamizono2017-07-041-0/+4
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Remove redundant `assert_nothing_raised` before another assertionsRyuta Kamizono2017-06-061-3/+0
* Remove a redundant test assertionKoichi ITO2017-05-291-6/+0
* Don't eager loading if unneeded for `FinderMethods#exists?`Ryuta Kamizono2017-05-111-0/+1
* correctly check error messageyuuji.yaginuma2017-01-251-4/+11
* :warning: "Use assert_nil if expecting nil. This will fail in MT6."Akira Matsuda2017-01-181-2/+12
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-3/+3
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-20/+20
* improve error message when include assertions failMichael Grosser2016-09-161-11/+11
* Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-2/+20
|\
| * Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-2/+20
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-39/+39
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-164/+164
* | applies new string literal convention in activerecord/testXavier Noria2016-08-061-128/+128
|/
* Fix `calculate` with a string value in `from` and eager loadingRyuta Kamizono2016-06-131-0/+4
* Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-0/+1
* don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-0/+12
* Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-0/+32
|\
| * Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-021-0/+32
* | remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-1/+1
* | Revert "Merge pull request #22486 from methyl/fix-includes-for-groupped-assoc...Yves Senn2015-12-211-17/+0
* | Merge pull request #22486 from methyl/fix-includes-for-groupped-associationYves Senn2015-12-211-0/+17
|\ \
| * | Pass SQL group by values when including scoped associationLucjan Suski2015-12-151-0/+13
* | | Merge pull request #19423 from yuroyoro/fix_performance_regression_of_preload...Aaron Patterson2015-12-181-0/+6
|\ \ \ | |/ / |/| |
| * | Read already loaded association records from association.targetTomohito Ozaki2015-04-171-0/+6
| |/
* | Never pass `nil` to `order`Sean Griffin2015-10-291-6/+0
* | Revert "Revert "Merge pull request #22026 from akihiro17/fix-preload-associat...Yves Senn2015-10-291-0/+18
* | Revert "Merge pull request #22026 from akihiro17/fix-preload-association"Sean Griffin2015-10-291-18/+0