rails/rails — pull request #13301 by ccutrer (2013-12-12 22:16:24+00:00)
Title: allow a limit for delete_all

also do joins natively for mysql

both require https://github.com/rails/arel/pull/228