aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Adds preloaded_records method to NullPreloaderThorsten Ball2014-11-281-0/+8
* Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-0/+6
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* measure record instantiation time in AS::NotificationsAaron Patterson2014-10-131-0/+36
* Fixed regression with referencing polymorphic assoc in eager-loadGodfrey Chan2014-09-051-0/+10
* `preload` preserves readonly flag on associations. #15853Yves Senn2014-06-251-0/+29
* Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-0/+4
* Fix syntax error from 5eae77cZachary Scott2014-05-261-1/+1
* Move test to the proper fileRafael Mendonça França2014-05-261-0/+7
* Add test case for b13d260Rafael Mendonça França2014-05-261-0/+9
* Remove dead test code for unsupported adaptersSean Griffin2014-05-171-17/+3
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-101-4/+27
* :scissors:Rafael Mendonça França2014-04-111-2/+2
* fix exception on polymorphic associations with predicatesSimon Woker2014-04-111-0/+8
* Simplify Preloader#grouped_records code.thedarkone2014-03-301-4/+4
* Fix polymorphic preloads on NOT NULL _type columns.thedarkone2014-03-301-0/+11
* `where.not` adds `references` for `includes`.Yves Senn2014-03-171-0/+10
* passing an instance of an AR object to `find` is deprecatedAaron Patterson2014-03-131-3/+3
* `includes` uses SQL parsing when String joins are involved.Yves Senn2014-02-281-0/+9
* Fix that eager loading of polymorphic associations did not work with associat...David Heinemeier Hansson2013-11-141-2/+0
* Mark broken test as pendingRafael Mendonça França2013-11-081-0/+2
* :cut: whitespaceAaron Patterson2013-10-301-2/+2
* Add failing test for preloading with a polymorphic association and using the ...David Heinemeier Hansson2013-10-281-1/+10
* Squashed commit of the following:Aaron Patterson2013-10-011-0/+6
* Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-2/+5
* remove deprecated implicit join references.Yves Senn2013-06-291-15/+5
* Remove depreacted findersŁukasz Strzałkowski2013-06-281-2/+2
* Make test name descriptive and add reference to original regression commitVipul A M2013-06-151-1/+2
* has_many through obeys order on through associationNeeraj Singh2013-04-041-1/+1
* test-case to prevent resetting associations when preloading twice.Yves Senn2013-03-221-0/+7
* Merge pull request #9782 from vipulnsward/change_from_each_to_each_key_habtmRafael Mendonça França2013-03-181-2/+2
|\
| * 1. Change from each to each_value since we did not use keyVipul A M2013-03-191-2/+2
* | fix typos in AR. lots of them.Vipul A M2013-03-191-1/+1
|/
* Expand order(:symbol) to "table".symbol to prevent broken queries on PG.Yves Senn2013-02-251-1/+6
* don't apply invalid ordering when preloading hmt associations.Yves Senn2013-02-241-0/+5
* don't cache invalid subsets when preloading hmt associations.Yves Senn2013-02-141-0/+6
* Merge pull request #8568 from inossidabile/fix-in_clause_lengthJon Leighton2013-01-111-7/+7
|\
| * Eager loading made to use relation's in_clause_length instead of host's one (...Boris Staal2012-12-201-7/+7
* | Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-3/+4
|/
* Do not instantiate intermediate AR objects when eager loading.Yves Senn2012-12-041-0/+6
* Remove not used variable warnignsCarlos Antonio da Silva2012-12-011-4/+4