diff options
author | eileencodes <eileencodes@gmail.com> | 2014-05-17 09:11:25 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2014-05-18 07:52:04 -0400 |
commit | 540262afd7f1ebc675756fdeaee1a86c9f840f3e (patch) | |
tree | 9167138e50c34c6e7592384b3540963ef711f57e /activerecord/lib/active_record/sanitization.rb | |
parent | dbbcc8388acbcded4ef3a8b17213e3f16a354f32 (diff) | |
download | rails-540262afd7f1ebc675756fdeaee1a86c9f840f3e.tar.gz rails-540262afd7f1ebc675756fdeaee1a86c9f840f3e.tar.bz2 rails-540262afd7f1ebc675756fdeaee1a86c9f840f3e.zip |
early return on delete and destroy methods
When delete or destroy is called on all records nothing
is deleted or destroyed. Intead of running through the code and still
not deleteing anything, we should early return
Diffstat (limited to 'activerecord/lib/active_record/sanitization.rb')
0 files changed, 0 insertions, 0 deletions