aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/nested_through_associations_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-10-16 01:33:40 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-11-06 04:04:54 +0900
commit8a2ee3d8c6921ce34e597658e3f2b43b41423d1d (patch)
tree4e9a337567e3de1b18901b4754a589652451c1ba /activerecord/test/cases/associations/nested_through_associations_test.rb
parente3a295664681ea0480a9c95f6bfc776a113ff926 (diff)
downloadrails-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 'activerecord/test/cases/associations/nested_through_associations_test.rb')
0 files changed, 0 insertions, 0 deletions