aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorDerek Kraan <derek.kraan@gmail.com>2013-01-11 12:29:30 -0500
committerDerek Kraan <derek.kraan@gmail.com>2013-01-11 12:31:09 -0500
commitbc4edca7b178bcac4d259809e965368e30a692a8 (patch)
tree17335aa4e8be56b4b1492565fe2770ee490e5bb5 /actionpack/lib/action_dispatch
parent7738222173e547ed92c6f85a64ececb766825cf3 (diff)
downloadrails-bc4edca7b178bcac4d259809e965368e30a692a8.tar.gz
rails-bc4edca7b178bcac4d259809e965368e30a692a8.tar.bz2
rails-bc4edca7b178bcac4d259809e965368e30a692a8.zip
Fix .update_all and .delete_all when using a condition on a joined table
in a default_scope. `Model.joins(...).where(condition_on_joined_table).update_all` / `delete_all` worked, but the same operation implemented with a default_scope generated a SQL error because ActiveRecord ignored the join but implemented the where condition anyways.
Diffstat (limited to 'actionpack/lib/action_dispatch')
0 files changed, 0 insertions, 0 deletions