rails/rails — pull request #8994 by derekkraan (2013-01-18 16:50:11+00:00)
Title: Fix .update_all and .delete_all when using a condition on a joined table in a default_scope

cc @jonleighton

Here's the first commit from #8473.