aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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