diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-07-18 22:11:35 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-12-25 04:55:50 +0900 |
commit | d1e0f11b49c9c7598efffbc44a94539b6e982e5c (patch) | |
tree | be9ee3c93723fa5aff2a1dc9867aa25d4fa7907f /activerecord/lib/active_record/attribute_methods | |
parent | 5b874cf42a41b966ca223a278b77fd0b4144ddb6 (diff) | |
download | rails-d1e0f11b49c9c7598efffbc44a94539b6e982e5c.tar.gz rails-d1e0f11b49c9c7598efffbc44a94539b6e982e5c.tar.bz2 rails-d1e0f11b49c9c7598efffbc44a94539b6e982e5c.zip |
Delegate to `scope` rather than `merge!` for collection proxy
`merge! association.scope(nullify: false)` is expensive but most methods
do not need the merge.
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
0 files changed, 0 insertions, 0 deletions