aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader
Commit message (Expand)AuthorAgeFilesLines
...
* | 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
| * return a list rather than hashAaron Patterson2013-09-201-7/+13
| * preserve order on the RHS queryAaron Patterson2013-09-201-0/+8
| * split up construction and mutationAaron Patterson2013-09-201-1/+4
| * push `run` up to preloadAaron Patterson2013-09-202-4/+11
| * exposing target records on the preloaderAaron Patterson2013-09-202-16/+29
| * correctly typecast keys, remove conditionals, reduce object allocationsAaron Patterson2013-08-282-7/+11
| * no need to to_a the scopeAaron Patterson2013-08-281-1/+1
| * remove extra flat_map arrayAaron Patterson2013-08-281-8/+9
| * avoid extra empty array allocationAaron Patterson2013-08-281-10/+10
| * extract owner id calculation to a methodAaron Patterson2013-08-281-1/+5