rails/rails — pull request #5649 by rafaelfranca (2012-03-29 03:45:27+00:00)
Title: Fix delete_all when chained with joins.

I don't know if the MySQL fix is the best one. @tenderlove please review it.

Closes #5202 and #919