aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/context.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2014-04-28 19:09:46 -0400
committereileencodes <eileencodes@gmail.com>2014-04-28 19:09:46 -0400
commitfe5d0988241cf34a378f05ce84e90c5d0636287a (patch)
treed5dbc361fd3c3925bdb260d346bffc31eed2b429 /actionview/lib/action_view/context.rb
parent7707eb9e75587d655916645ad633cd6d45c40c03 (diff)
downloadrails-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/context.rb')
0 files changed, 0 insertions, 0 deletions