aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader
Commit message (Expand)AuthorAgeFilesLines
* Don't rely on the internal representation of join valuesSean Griffin2015-01-271-1/+5
* Remove all references to `where_values` in association codeSean Griffin2015-01-252-9/+5
* Don't access the where values hash directly in through associationsSean Griffin2015-01-251-1/+1
* Don't rely as much on the structure of the values hash in associationsSean Griffin2015-01-251-1/+1
* Return a null column from `column_for_attribute` when no column exists.Rafael Mendonça França2015-01-041-2/+2
* Go through normal `where` logic when preloading associationsSean Griffin2014-12-261-1/+1
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-8/+2
* Merge pull request #17360 from bronzle/includes_and_unscopedYves Senn2014-11-051-0/+1
|\
| * copy reflection_scopes’s unscoped value when building scope for preloading,...Byron Bischoff2014-10-221-0/+4
* | Use bind values for joined tables in where statementsSean Griffin2014-11-011-0/+1
|/
* Spelling errorsjbsmith862014-08-141-1/+1
* `preload` preserves readonly flag on associations. #15853Yves Senn2014-06-251-0/+4
* Add a deprecation cycle for `NullColumn` from `column_for_attribute`Sean Griffin2014-06-231-2/+2
* Use null column for association key typesSean Griffin2014-06-041-4/+2
* Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-2/+4
* Merge pull request #14855 from laurocaetano/fix_polymorphic_with_string_keyYves Senn2014-05-211-4/+25
|\
| * Fix polymorphic eager load with foreign_key as String.Lauro Caetano2014-05-201-2/+17
|/
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-252-2/+2
|\
| * reset `@arel` when modifying a Relation in place.Yves Senn2014-04-241-1/+1
| * select! renamed to avoid name collision Array#select!Earl J St Sauver2014-04-211-1/+1
* | Merge branch 'master' into adequaterecordAaron Patterson2014-03-131-1/+1
|\|
| * Replace map.flatten with flat_map in activerecordErik Michaels-Ober2014-03-031-1/+1
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-116-116/+106
|\|
| * remove the nil check from set_inverse_instanceAaron Patterson2013-12-121-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 the HABTM preloaderAaron Patterson2013-10-021-71/+0
| * remove initialize methodAaron Patterson2013-09-251-4/+0
| * extract association resetting to a methodAaron Patterson2013-09-251-9/+16
| * hash insertion order doesn't matter anymore, so only loop over theAaron Patterson2013-09-251-4/+2
| * always populate the preloaded records instance variable so we can removeAaron Patterson2013-09-252-10/+5
| * keep preloaded records in a list rather than extract from a hashAaron Patterson2013-09-253-16/+21
| * push slice loading to it's own method so we can remove the type castingAaron Patterson2013-09-242-24/+20
| * guarantee that `klass` is not nil inside the preloader objectsAaron Patterson2013-09-241-1/+1
| * eliminate unused ivarAaron Patterson2013-09-241-1/+0
| * all records have a preloaded, so eliminate that conditionalAaron Patterson2013-09-241-11/+7
| * eliminate the `loaded?` conditionalAaron Patterson2013-09-242-10/+1
| * push preloaded test up to the factory method so we can eliminateAaron Patterson2013-09-242-6/+4
| * 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-236-19/+17
| * 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-232-16/+12
| * hm:t preloading will respect order set on the RHS associationAaron Patterson2013-09-234-7/+52
| * cache associated target records hashAaron Patterson2013-09-201-17/+11
| * combine methods so we can reuse preloadersAaron Patterson2013-09-201-19/+18