aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader/association.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Remove most type related predicates from `Column`Sean Griffin2015-01-301-2/+2
* Don't rely on the internal representation of join valuesSean Griffin2015-01-271-1/+5
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-6/+3
* Don't rely as much on the structure of the values hash in associationsSean Griffin2015-01-251-1/+1
* Return a null column from `column_for_attribute` when no column exists.Rafael Mendonça França2015-01-041-2/+2
* Go through normal `where` logic when preloading associationsSean Griffin2014-12-261-1/+1
* Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-8/+2
* Merge pull request #17360 from bronzle/includes_and_unscopedYves Senn2014-11-051-0/+1
|\
| * copy reflection_scopes’s unscoped value when building scope for preloading,...Byron Bischoff2014-10-221-0/+4
|/
* `preload` preserves readonly flag on associations. #15853Yves Senn2014-06-251-0/+4
* Add a deprecation cycle for `NullColumn` from `column_for_attribute`Sean Griffin2014-06-231-2/+2
* Use null column for association key typesSean Griffin2014-06-041-4/+2
* Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-2/+4
* Merge pull request #14855 from laurocaetano/fix_polymorphic_with_string_keyYves Senn2014-05-211-4/+25
|\
| * Fix polymorphic eager load with foreign_key as String.Lauro Caetano2014-05-201-2/+17
|/
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-251-1/+1
|\
| * select! renamed to avoid name collision Array#select!Earl J St Sauver2014-04-211-1/+1
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-111-24/+42
|\|
| * 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
* | push binds through relation objectsAaron Patterson2013-05-201-0/+3
|/
* 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