aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader/through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix preloading association with scope including joinsRyuta Kamizono2017-07-041-3/+10
* 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
* Merge pull request #29129 from kamipo/prevent_extra_through_scopeRafael França2017-06-281-2/+4
|\
| * Prevent extra `through_scope`Ryuta Kamizono2017-05-181-2/+4
* | Don't expose methods and attrs for internal usageRyuta Kamizono2017-05-301-1/+1
|/
* Remove useless `target_records_from_association`Ryuta Kamizono2017-05-041-11/+3
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-3/+3
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-32/+32
* Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-8/+15
|\
| * Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-021-8/+15
* | Merge pull request #19423 from yuroyoro/fix_performance_regression_of_preload...Aaron Patterson2015-12-181-2/+7
|\ \
| * | Read already loaded association records from association.targetTomohito Ozaki2015-04-171-2/+7
| |/
* / Never pass `nil` to `order`Sean Griffin2015-10-291-1/+3
|/
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-3/+2
* Don't access the where values hash directly in through associationsSean Griffin2015-01-251-1/+1
* Use bind values for joined tables in where statementsSean Griffin2014-11-011-0/+1
* Spelling errorsjbsmith862014-08-141-1/+1
* reset `@arel` when modifying a Relation in place.Yves Senn2014-04-241-1/+1
* Replace map.flatten with flat_map in activerecordErik Michaels-Ober2014-03-031-1/+1
* read the association instead of sendingAaron Patterson2013-10-141-1/+3
* simplify populating the ordering hashAaron Patterson2013-10-141-10/+5
* the preloader for the RHS has all the preloaded records, so ask itAaron Patterson2013-10-141-3/+3
* only calculate offset index once. #12537Aaron Patterson2013-10-141-6/+10
* Drop unused iterator varVipul A M2013-10-131-1/+1
* remove initialize methodAaron Patterson2013-09-251-4/+0
* extract association resetting to a methodAaron Patterson2013-09-251-9/+16
* always populate the preloaded records instance variable so we can removeAaron Patterson2013-09-251-7/+4
* keep preloaded records in a list rather than extract from a hashAaron Patterson2013-09-251-2/+8
* all records have a preloaded, so eliminate that conditionalAaron Patterson2013-09-241-11/+7
* eliminate the `loaded?` conditionalAaron Patterson2013-09-241-3/+1
* push preloaded test up to the factory method so we can eliminateAaron Patterson2013-09-241-3/+3
* we can't sort by lhs since the middle records have difference classesAaron Patterson2013-09-231-19/+19
* pass the preloader down so we only have to construct oneAaron Patterson2013-09-231-8/+6
* remove state from the preloaderAaron Patterson2013-09-231-10/+9
* only do the should_reset test onceAaron Patterson2013-09-231-6/+6
* fix variable names and speed up relation orderingAaron Patterson2013-09-231-7/+11
* hm:t preloading will respect order set on the RHS associationAaron Patterson2013-09-231-2/+25
* combine methods so we can reuse preloadersAaron Patterson2013-09-201-19/+18
* return a list rather than hashAaron Patterson2013-09-201-7/+13
* split up construction and mutationAaron Patterson2013-09-201-1/+4
* remove intermediate variableAaron Patterson2013-08-271-3/+1
* cache association reset calculationAaron Patterson2013-08-271-4/+4
* query the association rather than send the method for the association nameAaron Patterson2013-08-271-5/+6
* don't shadow `through_scope` method name with local var.Yves Senn2013-06-301-7/+7
* don't apply invalid ordering when preloading hmt associations.Yves Senn2013-02-241-2/+2
* don't cache invalid subsets when preloading hmt associations.Yves Senn2013-02-141-1/+2
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-16/+11
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-1/+0