aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader/association.rb
Commit message (Expand)AuthorAgeFilesLines
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Merge pull request #26379 from kamipo/remove_unnecessary_query_scopeAndrew White2016-09-051-4/+0
|\
| * Remove unnecessary `query_scope`Ryuta Kamizono2016-08-161-4/+0
* | Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-3/+17
* | Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-1/+1
|\ \ | |/ |/|
| * Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-1/+1
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-061-71/+71
|/
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-041-1/+1
* Revert "Merge pull request #22486 from methyl/fix-includes-for-groupped-assoc...Yves Senn2015-12-211-5/+1
* Pass SQL group by values when including scoped associationLucjan Suski2015-12-151-1/+5
* Never pass `nil` to `order`Sean Griffin2015-10-291-1/+4
* Revert "Revert "Merge pull request #22026 from akihiro17/fix-preload-associat...Yves Senn2015-10-291-0/+4
* Revert "Merge pull request #22026 from akihiro17/fix-preload-association"Sean Griffin2015-10-291-4/+0
* Set `scope.reordering_value` to `true` if :reordering values are specifiedakihiro172015-10-301-0/+4
* Merge pull request #21918 from bogdan/refactor-preloaderSean Griffin2015-10-221-42/+30
|\
| * Refactored association preloader for performanceBogdan Gusiev2015-10-221-42/+30
* | Merge pull request #21033 from dgynn/preloader_build_scope_tuningArthur Nogueira Neves2015-10-041-1/+3
|\ \ | |/ |/|
| * skip _select! call unless :select values are specifiedDave Gynn2015-07-261-1/+3
* | Include association's `unscope` when preloadingJimmy Bourassa2015-09-091-1/+1
|/
* 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