aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader.rb
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix method nameAaron Patterson2013-09-201-3/+5
| |
| * access preloaders independently of model mutationsAaron Patterson2013-09-201-12/+12
| |
| * push running the preloaders upAaron Patterson2013-09-201-19/+7
| |
| * push `run` up to preloadAaron Patterson2013-09-201-10/+30
| |
| * the hash should only ever be length one, so decompose itAaron Patterson2013-09-201-4/+5
| |
| * stop depending on preloader interals so we can create fewer preloaderAaron Patterson2013-09-201-19/+23
| | | | | | | | objects
| * lhs preload is always a single preload, so just preload oneAaron Patterson2013-09-201-3/+3
| |
| * just read the attribute rather than `send`ingAaron Patterson2013-09-201-1/+1
| |
| * extract exception raising, clean up group_by statementAaron Patterson2013-09-201-6/+7
| |
| * generate fewer objects when groupingAaron Patterson2013-09-201-5/+7
| |
| * do not access internal data structuresAaron Patterson2013-09-201-1/+1
| |
| * reduce relation allocationsAaron Patterson2013-08-301-1/+3
| |
| * require a class for cache computationsAaron Patterson2013-08-301-1/+1
| |
| * add a specific factory method rather than using newAaron Patterson2013-07-231-1/+1
|/
* refactoring to_sym of Symbol in preloadAngelo capilleri2013-01-021-1/+3
|
* Migration of docs to 1.9 hash syntaxAvnerCohen2012-10-231-3/+3
|
* Eager autoload Preloader classesJohn Firebaugh2012-10-101-10/+14
| | | | | Without eager autoloading, these would be autoloaded only when #preloader_for is called, which is too late in threaded applications.
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-051-1/+1
| | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]]
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-051-1/+1
|
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-12/+7
|
* Fix AR preloader exampleAlexey Vakhov2012-05-221-1/+1
|
* Rewrote AssociationPreload.Jon Leighton2011-02-281-0/+177