diff options
author | eileencodes <eileencodes@gmail.com> | 2014-05-05 18:05:36 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2014-05-05 18:12:41 -0400 |
commit | 255de98a9aace147842004774aa0214972b343a4 (patch) | |
tree | 1d41f2062c5b2eac293f207e3ef13d34d95e10fb /activerecord/examples | |
parent | b6bab2af144d3f35ae2e1661286f2e35f43f5d3a (diff) | |
download | rails-255de98a9aace147842004774aa0214972b343a4.tar.gz rails-255de98a9aace147842004774aa0214972b343a4.tar.bz2 rails-255de98a9aace147842004774aa0214972b343a4.zip |
refactor and clean up delete_all method
Now that delete_all with destroy or delete_all dependency behave
the same we no longer need this conditional. This means we can remove
the new delete_all_with_dependency method I added and go straight
to delete_records from delete_all, passing :all and the dependent
directly.
Diffstat (limited to 'activerecord/examples')
0 files changed, 0 insertions, 0 deletions