diff options
author | eileencodes <eileencodes@gmail.com> | 2014-04-28 19:09:46 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2014-04-28 19:09:46 -0400 |
commit | fe5d0988241cf34a378f05ce84e90c5d0636287a (patch) | |
tree | d5dbc361fd3c3925bdb260d346bffc31eed2b429 /actionview/lib/action_view/helpers.rb | |
parent | 7707eb9e75587d655916645ad633cd6d45c40c03 (diff) | |
download | rails-fe5d0988241cf34a378f05ce84e90c5d0636287a.tar.gz rails-fe5d0988241cf34a378f05ce84e90c5d0636287a.tar.bz2 rails-fe5d0988241cf34a378f05ce84e90c5d0636287a.zip |
flip conditional in delete_all to handle nullify better
Nullify (or nil dependency) was doing the same thing delete_all
was doing in issue #14546, creating a large IN statement if
the association was loaded. Loaded and not loaded associations
should behave the same. The IN statement is also not great because
it's inefficient.
Diffstat (limited to 'actionview/lib/action_view/helpers.rb')
0 files changed, 0 insertions, 0 deletions