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
*
Defer Arel attribute lookup to the model class
Matthew Draper
2016-02-04
1
-1
/
+1
*
Revert "Merge pull request #22486 from methyl/fix-includes-for-groupped-assoc...
Yves Senn
2015-12-21
1
-5
/
+1
*
Pass SQL group by values when including scoped association
Lucjan Suski
2015-12-15
1
-1
/
+5
*
Never pass `nil` to `order`
Sean Griffin
2015-10-29
1
-1
/
+4
*
Revert "Revert "Merge pull request #22026 from akihiro17/fix-preload-associat...
Yves Senn
2015-10-29
1
-0
/
+4
*
Revert "Merge pull request #22026 from akihiro17/fix-preload-association"
Sean Griffin
2015-10-29
1
-4
/
+0
*
Set `scope.reordering_value` to `true` if :reordering values are specified
akihiro17
2015-10-30
1
-0
/
+4
*
Merge pull request #21918 from bogdan/refactor-preloader
Sean Griffin
2015-10-22
1
-42
/
+30
|
\
|
*
Refactored association preloader for performance
Bogdan Gusiev
2015-10-22
1
-42
/
+30
*
|
Merge pull request #21033 from dgynn/preloader_build_scope_tuning
Arthur Nogueira Neves
2015-10-04
1
-1
/
+3
|
\
\
|
|
/
|
/
|
|
*
skip _select! call unless :select values are specified
Dave Gynn
2015-07-26
1
-1
/
+3
*
|
Include association's `unscope` when preloading
Jimmy Bourassa
2015-09-09
1
-1
/
+1
|
/
*
Remove most type related predicates from `Column`
Sean Griffin
2015-01-30
1
-2
/
+2
*
Don't rely on the internal representation of join values
Sean Griffin
2015-01-27
1
-1
/
+5
*
Remove all references to `where_values` in association code
Sean Griffin
2015-01-25
1
-6
/
+3
*
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
[next]