diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-18 11:03:59 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-18 11:03:59 +0900 |
commit | 9b1115ea34e44fe772272ec58ccba7a9cbc0955a (patch) | |
tree | f4d8461d7f1c0338060eb077c86920c5c6f54b93 /activerecord/test/fixtures | |
parent | f06266761cbecf0fa553fb2a35f62daf8e05c898 (diff) | |
download | rails-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