aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/sanitization.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2014-05-17 09:11:25 -0400
committereileencodes <eileencodes@gmail.com>2014-05-18 07:52:04 -0400
commit540262afd7f1ebc675756fdeaee1a86c9f840f3e (patch)
tree9167138e50c34c6e7592384b3540963ef711f57e /activerecord/lib/active_record/sanitization.rb
parentdbbcc8388acbcded4ef3a8b17213e3f16a354f32 (diff)
downloadrails-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