rails/rails — pull request #13375 by johankok (2013-12-18 12:53:47+00:00)
Title: Fix delete_all when chained with joins.

Backported fix from master for issues #7287, #5202 and #919. Would it be possible to include this in 3-2-stable?