diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-18 07:07:23 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-18 07:07:23 +0900 |
commit | 5daf89f838abfd0c56d4a09bd352c987bc64ff9a (patch) | |
tree | 109b20abed26c97c84660bac1c75437793db5334 /activerecord/test/models/task.rb | |
parent | 45588fef7eef095d33beaf192b0b6a8c9c8af348 (diff) | |
download | rails-5daf89f838abfd0c56d4a09bd352c987bc64ff9a.tar.gz rails-5daf89f838abfd0c56d4a09bd352c987bc64ff9a.tar.bz2 rails-5daf89f838abfd0c56d4a09bd352c987bc64ff9a.zip |
Don't pass `reflection_scope` to `preload_scope` if `reflection.scope` isn't given
Related 2b5f5cdd7c1d95716de6a206b6d09ccbb006dc17.
If `reflection.scope` isn't given, `reflection_scope` is always empty
scope. It is unnecessary to merge it.
Diffstat (limited to 'activerecord/test/models/task.rb')
0 files changed, 0 insertions, 0 deletions