index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
associations
/
preloader
/
association.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
hash insertion order doesn't matter anymore, so only loop over the
Aaron Patterson
2013-09-25
1
-4
/
+2
*
keep preloaded records in a list rather than extract from a hash
Aaron Patterson
2013-09-25
1
-13
/
+9
*
push slice loading to it's own method so we can remove the type casting
Aaron Patterson
2013-09-24
1
-13
/
+8
*
guarantee that `klass` is not nil inside the preloader objects
Aaron Patterson
2013-09-24
1
-1
/
+1
*
eliminate the `loaded?` conditional
Aaron Patterson
2013-09-24
1
-7
/
+0
*
push preloaded test up to the factory method so we can eliminate
Aaron Patterson
2013-09-24
1
-3
/
+1
*
pass the preloader down so we only have to construct one
Aaron Patterson
2013-09-23
1
-5
/
+5
*
fix variable names and speed up relation ordering
Aaron Patterson
2013-09-23
1
-9
/
+1
*
hm:t preloading will respect order set on the RHS association
Aaron Patterson
2013-09-23
1
-2
/
+22
*
cache associated target records hash
Aaron Patterson
2013-09-20
1
-17
/
+11
*
preserve order on the RHS query
Aaron Patterson
2013-09-20
1
-0
/
+8
*
push `run` up to preload
Aaron Patterson
2013-09-20
1
-3
/
+7
*
exposing target records on the preloader
Aaron Patterson
2013-09-20
1
-14
/
+27
*
correctly typecast keys, remove conditionals, reduce object allocations
Aaron Patterson
2013-08-28
1
-7
/
+6
*
no need to to_a the scope
Aaron Patterson
2013-08-28
1
-1
/
+1
*
remove extra flat_map array
Aaron Patterson
2013-08-28
1
-8
/
+9
*
avoid extra empty array allocation
Aaron Patterson
2013-08-28
1
-10
/
+10
*
extract owner id calculation to a method
Aaron Patterson
2013-08-28
1
-1
/
+5
*
only call to_a when we have to
Aaron Patterson
2013-08-28
1
-1
/
+5
*
use flat_map
Neeraj Singh
2013-08-03
1
-1
/
+1
*
Simplify/fix implementation of default scopes
Jon Leighton
2013-06-28
1
-2
/
+1
*
Eager loading made to use relation's in_clause_length instead of host's one (...
Boris Staal
2012-12-20
1
-1
/
+1
*
Revert "Use flat_map { } instead of map {}.flatten"
Santiago Pastorino
2012-10-05
1
-1
/
+1
*
Use flat_map { } instead of map {}.flatten
Santiago Pastorino
2012-10-05
1
-1
/
+1
*
s/scoped/scope/
Jon Leighton
2012-08-01
1
-4
/
+4
*
Convert association macros to the new syntax
Jon Leighton
2012-07-20
1
-1
/
+1
*
Represent association scope options as AR::Relations insternally.
Jon Leighton
2012-07-13
1
-27
/
+22
*
Fix #5667. Preloading should ignore scoping.
Jon Leighton
2012-03-30
1
-2
/
+3
*
Avoid sanitize_sql when we can use Relation#where instead
Jon Leighton
2012-01-16
1
-8
/
+6
*
Revert "Deprecate implicit eager loading. Closes #950."
Jon Leighton
2012-01-16
1
-1
/
+0
*
Deprecate implicit eager loading. Closes #950.
Jon Leighton
2011-12-29
1
-0
/
+1
*
reduce calls to owners_by_key and to read_attribute, respond_to? etc
Aaron Patterson
2011-07-01
1
-2
/
+3
*
Rewrote AssociationPreload.
Jon Leighton
2011-02-28
1
-0
/
+126