aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader/association.rb
Commit message (Expand)AuthorAgeFilesLines
* hash insertion order doesn't matter anymore, so only loop over theAaron Patterson2013-09-251-4/+2
* keep preloaded records in a list rather than extract from a hashAaron Patterson2013-09-251-13/+9
* push slice loading to it's own method so we can remove the type castingAaron Patterson2013-09-241-13/+8
* guarantee that `klass` is not nil inside the preloader objectsAaron Patterson2013-09-241-1/+1
* eliminate the `loaded?` conditionalAaron Patterson2013-09-241-7/+0
* push preloaded test up to the factory method so we can eliminateAaron Patterson2013-09-241-3/+1
* pass the preloader down so we only have to construct oneAaron Patterson2013-09-231-5/+5
* fix variable names and speed up relation orderingAaron Patterson2013-09-231-9/+1
* hm:t preloading will respect order set on the RHS associationAaron Patterson2013-09-231-2/+22
* cache associated target records hashAaron Patterson2013-09-201-17/+11
* preserve order on the RHS queryAaron Patterson2013-09-201-0/+8
* push `run` up to preloadAaron Patterson2013-09-201-3/+7
* exposing target records on the preloaderAaron Patterson2013-09-201-14/+27
* correctly typecast keys, remove conditionals, reduce object allocationsAaron Patterson2013-08-281-7/+6
* 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
* only call to_a when we have toAaron Patterson2013-08-281-1/+5
* use flat_mapNeeraj Singh2013-08-031-1/+1
* Simplify/fix implementation of default scopesJon Leighton2013-06-281-2/+1
* Eager loading made to use relation's in_clause_length instead of host's one (...Boris Staal2012-12-201-1/+1
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-051-1/+1
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-051-1/+1
* s/scoped/scope/Jon Leighton2012-08-011-4/+4
* Convert association macros to the new syntaxJon Leighton2012-07-201-1/+1
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-27/+22
* Fix #5667. Preloading should ignore scoping.Jon Leighton2012-03-301-2/+3
* Avoid sanitize_sql when we can use Relation#where insteadJon Leighton2012-01-161-8/+6
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-1/+0
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-0/+1
* reduce calls to owners_by_key and to read_attribute, respond_to? etcAaron Patterson2011-07-011-2/+3
* Rewrote AssociationPreload.Jon Leighton2011-02-281-0/+126