aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Set `scope.reordering_value` to `true` if :reordering values are specifiedakihiro172015-10-301-0/+18
* | Fix merge conflicts for #19938Sean Griffin2015-10-201-0/+12
|\ \
| * | Fix for activerecord join dependency instantiate bugMehmet Emin İNAÇ2015-05-041-0/+12
* | | Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-27/+31
* | | Merge pull request #21284 from prakashlaxkar/argument_error_testsYves Senn2015-08-181-0/+8
* | | deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-261-1/+1
|/ /
* / Fix eager loading association using default_scope for finder methods.Santosh Wadghule2015-03-311-0/+17
|/
* Merge branch 'master' into pr/18316Mingdong Luo2015-01-311-22/+9
|\
| * remove deprecated support to preload instance-dependent associaitons.Yves Senn2015-01-051-22/+9
* | Fix n+1 query problem when eager loading nil associations (fixes #18312)Sammy Larbi2015-01-031-0/+8
|/
* `eager_load` preserves readonly flag for associationsTakashi Kokubun2014-12-301-1/+4
* Fix "nonexistent" typo in testsMelissa Xie2014-12-021-2/+2
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-10/+10