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
...
*
Don't rely as much on the structure of the values hash in associations
Sean Griffin
2015-01-25
1
-1
/
+1
*
Return a null column from `column_for_attribute` when no column exists.
Rafael Mendonça França
2015-01-04
1
-2
/
+2
*
Go through normal `where` logic when preloading associations
Sean Griffin
2014-12-26
1
-1
/
+1
*
Fix includes on association with a scope containing joins along with conditions
siddharth@vinsol.com
2014-11-21
1
-8
/
+2
*
Merge pull request #17360 from bronzle/includes_and_unscoped
Yves Senn
2014-11-05
1
-0
/
+1
|
\
|
*
copy reflection_scopes’s unscoped value when building scope for preloading,...
Byron Bischoff
2014-10-22
1
-0
/
+4
|
/
*
`preload` preserves readonly flag on associations. #15853
Yves Senn
2014-06-25
1
-0
/
+4
*
Add a deprecation cycle for `NullColumn` from `column_for_attribute`
Sean Griffin
2014-06-23
1
-2
/
+2
*
Use null column for association key types
Sean Griffin
2014-06-04
1
-4
/
+2
*
Fix regression on eager loading association based on SQL query rather
Lauro Caetano
2014-06-03
1
-2
/
+4
*
Merge pull request #14855 from laurocaetano/fix_polymorphic_with_string_key
Yves Senn
2014-05-21
1
-4
/
+25
|
\
|
*
Fix polymorphic eager load with foreign_key as String.
Lauro Caetano
2014-05-20
1
-2
/
+17
|
/
*
Merge branch 'master' into adequaterecord
Aaron Patterson
2014-04-25
1
-1
/
+1
|
\
|
*
select! renamed to avoid name collision Array#select!
Earl J St Sauver
2014-04-21
1
-1
/
+1
*
|
Merge branch 'master' into set_binds
Aaron Patterson
2014-01-11
1
-24
/
+42
|
\
|
|
*
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
*
|
push binds through relation objects
Aaron Patterson
2013-05-20
1
-0
/
+3
|
/
*
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
[prev]