aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader/collection_association.rb
Commit message (Collapse)AuthorAgeFilesLines
* Never pass `nil` to `order`Sean Griffin2015-10-291-6/+0
| | | | | | | | This is part of a refactoring to make it easier to allow `order` to use sanitize like just about everything else on relation. The deleted test doesn't give any reasoning as to why passing `nil` to `order` needs to be supported, and it's rather nonsensical. I can almost see allowing an empty string being passed (though I'm tempted to just disallow it...)
* pass the preloader down so we only have to construct oneAaron Patterson2013-09-231-2/+2
|
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-1/+1
|
* Rewrote AssociationPreload.Jon Leighton2011-02-281-0/+24