rails/rails — pull request #14985 by eileencodes (2014-05-05 22:15:01+00:00)
Title: refactor and clean up delete_all method

Now that `delete_all` with a `destroy` and `delete_all` dependency behave the same we no longer need this conditional. This means we can remove the `delete_all_with_dependency` method I added and go straight to delete_records from delete_all, passing `:all` and the `dependent` directly.

cc/ @tenderlove