diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-16 01:33:40 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-11-06 04:04:54 +0900 |
commit | 8a2ee3d8c6921ce34e597658e3f2b43b41423d1d (patch) | |
tree | 4e9a337567e3de1b18901b4754a589652451c1ba /railties/test/application/test_runner_test.rb | |
parent | e3a295664681ea0480a9c95f6bfc776a113ff926 (diff) | |
download | rails-8a2ee3d8c6921ce34e597658e3f2b43b41423d1d.tar.gz rails-8a2ee3d8c6921ce34e597658e3f2b43b41423d1d.tar.bz2 rails-8a2ee3d8c6921ce34e597658e3f2b43b41423d1d.zip |
Ensure `apply_join_dependency` for `update_all` and `delete_all` if eager-loading is needed
If a relation has eager-loading values, `count` and `exists?` works
properly, but `update_all` and `delete_all` doesn't work due to missing
`apply_join_dependency`. It should be applied to work consistently.
Fixes #28863.
Diffstat (limited to 'railties/test/application/test_runner_test.rb')
0 files changed, 0 insertions, 0 deletions