aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* `preloaded_records` no longer includes `nil` since #35496Ryuta Kamizono2019-04-051-1/+0
* Fix preloader to never reset associations in case they are already loadedBogdan Gusiev2019-03-071-5/+11
* Restore `preloaders_for_one` methodRyuta Kamizono2018-10-051-5/+9
* ActiveRecord::Associations::Preloader should not fail to preload through miss...Nikita Sokolov2018-10-021-28/+24
* If association is a hash-like object preloading failsBohdan Pohorilets2018-09-261-4/+3
* ActiveRecord::Associations::Preloader should preload all instances of the sam...Nikita Sokolov2018-09-161-1/+0
* Can preload associations through polymorphic associationsDana Sherson2018-04-201-10/+15
* Use private attr_readerRyuta Kamizono2018-02-231-1/+1
* Bring back passing single record support for `Preloader`Ryuta Kamizono2018-01-101-1/+1
* Remove useless preloader classesRyuta Kamizono2017-11-101-19/+7
* Don't expose accessors which are internal used onlyRyuta Kamizono2017-11-081-2/+3
* Early return if `records.empty?` in `Preloader#preload`Ryuta Kamizono2017-09-181-3/+3
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix preloading association with scope including joinsRyuta Kamizono2017-07-041-3/+0
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Skip instantiating `NullPreloader` if `assoc.klass` is nilRyuta Kamizono2017-06-271-11/+3
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-17/+17
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-67/+67
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-10/+10
* Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-061-0/+1
* [ci skip] Add doc for preloader_forschneems2015-10-261-0/+4
* [ci skip] Clarify doc for preloaders_for_oneschneems2015-10-261-0/+5
* [ci skip] Add doc to preloaders_onschneems2015-10-261-0/+1
* [ci skip] Fix method documentation locationschneems2015-10-261-3/+2
* Correct error message in Standard American english and add a test case for th...prakash2015-08-181-1/+1
* docs, nodoc `NullPreloader` and `AlreadyLoaded`.Yves Senn2015-06-291-2/+2
* Merge pull request #20673 from aditya-kapoor/correct-preload-docYves Senn2015-06-231-1/+1
|\
| * [ci skip] correct for ActiveRecord::Associations::Preloader:Aditya Kapoor2015-06-231-1/+2
* | docs, add missing closing bracket. [ci skip]Yves Senn2015-06-231-1/+1
|/
* Don't rely on the internal representation of join valuesSean Griffin2015-01-271-1/+1
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-1/+1
* Don't rely as much on the structure of the values hash in associationsSean Griffin2015-01-251-1/+1
* Adds preloaded_records method to NullPreloaderThorsten Ball2014-11-281-0/+1
* Updating Associations::Preloader docsJack Danger Canty2014-08-171-23/+32
* Skip if the association was already loaded.Zachary Scott2014-05-241-0/+1
* fix multiple hash preloads. Fixes #14994Aaron Patterson2014-05-201-6/+7
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-101-0/+1
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-071-29/+6
|\
| * Simplify Preloader#grouped_records code.thedarkone2014-03-301-20/+6
| * Fix polymorphic preloads on NOT NULL _type columns.thedarkone2014-03-301-10/+1
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-111-42/+77
|\|
| * https://github.com/rails/rails/commit/2075f39d726cef361170218fd16421fc52bed5a...Vipul A M2013-12-311-1/+1
| * Make missed association exception message more informativePaul Nikitochkin2013-10-131-3/+3
| * remove the HABTM preloaderAaron Patterson2013-10-021-3/+0
| * guarantee that `klass` is not nil inside the preloader objectsAaron Patterson2013-09-241-4/+11
| * eliminate the `loaded?` conditionalAaron Patterson2013-09-241-2/+6
| * push preloaded test up to the factory method so we can eliminateAaron Patterson2013-09-241-2/+17
| * pass the preloader down so we only have to construct oneAaron Patterson2013-09-231-2/+4