aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-18 11:03:59 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-09-18 11:03:59 +0900
commit9b1115ea34e44fe772272ec58ccba7a9cbc0955a (patch)
treef4d8461d7f1c0338060eb077c86920c5c6f54b93 /activerecord/test/fixtures
parentf06266761cbecf0fa553fb2a35f62daf8e05c898 (diff)
downloadrails-9b1115ea34e44fe772272ec58ccba7a9cbc0955a.tar.gz
rails-9b1115ea34e44fe772272ec58ccba7a9cbc0955a.tar.bz2
rails-9b1115ea34e44fe772272ec58ccba7a9cbc0955a.zip
Extract `associate_records_to_owner` to refactor `Preloader::Association`
Since we have `Preloader#preload`, `Preloader::Association#preload` is a little confusing. And also, since the `preload` method is an abstract method, it is hard to read where `associated_records_by_owner` is called. This refactors `Preloader::Association` to ease to read where `associated_records_by_owner` is called.
Diffstat (limited to 'activerecord/test/fixtures')
0 files changed, 0 insertions, 0 deletions