aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader
Commit message (Expand)AuthorAgeFilesLines
* Remove single element array preprocessRyuta Kamizono2017-07-261-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-199-0/+18
* Merge pull request #29033 from kamipo/make_preload_query_to_prepared_statementsSean Griffin2017-07-181-1/+1
|\
| * Make preload query to preparableRyuta Kamizono2017-07-071-1/+1
* | Fix unscoping `default_scope` for `Preloader`Ryuta Kamizono2017-07-191-1/+11
|/
* Fix preloading association with scope including joinsRyuta Kamizono2017-07-042-46/+25
* Remove unused `association_key` and `table` methods in `Preloader::Association`Ryuta Kamizono2017-07-041-10/+0
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-029-9/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-019-0/+9
* Merge pull request #29129 from kamipo/prevent_extra_through_scopeRafael França2017-06-281-2/+4
|\
| * Prevent extra `through_scope`Ryuta Kamizono2017-05-181-2/+4
* | Don't expose methods and attrs for internal usageRyuta Kamizono2017-05-303-6/+5
|/
* Remove useless `target_records_from_association`Ryuta Kamizono2017-05-041-11/+3
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-292-4/+4
* 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-313-5/+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
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* | applies remaining conventions across the projectXavier Noria2016-08-063-6/+0
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-064-117/+117
|/
* Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-8/+15
|\
| * Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-022-9/+16
* | 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
* | Merge pull request #22486 from methyl/fix-includes-for-groupped-associationYves Senn2015-12-211-1/+5
|\ \
| * | Pass SQL group by values when including scoped associationLucjan Suski2015-12-151-1/+5
* | | Merge pull request #19423 from yuroyoro/fix_performance_regression_of_preload...Aaron Patterson2015-12-181-2/+7
|\ \ \ | |/ / |/| |
| * | Read already loaded association records from association.targetTomohito Ozaki2015-04-171-2/+7
| |/
* | Never pass `nil` to `order`Sean Griffin2015-10-294-16/+7
* | 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-252-9/+5
* Don't access the where values hash directly in through associationsSean Griffin2015-01-251-1/+1
* 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
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-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