aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/reply.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2014-04-23 22:35:23 -0400
committereileencodes <eileencodes@gmail.com>2014-04-28 14:08:56 -0400
commite0e586094f968b1f8fa410aa84d105bc8e44e537 (patch)
tree2e229508d25e1e634a0f6721906ef59a3daa3a6d /activerecord/test/models/reply.rb
parent7ad476be6f5b843cded4d1d84d2d22f3f4b43dfc (diff)
downloadrails-e0e586094f968b1f8fa410aa84d105bc8e44e537.tar.gz
rails-e0e586094f968b1f8fa410aa84d105bc8e44e537.tar.bz2
rails-e0e586094f968b1f8fa410aa84d105bc8e44e537.zip
simplify the delete all w/ dependency method
After reviewing this code I realized the conditional that was there previously was basically saying if the dependency is not delete all. This is a better, cleaner, and clearer way to write this method.
Diffstat (limited to 'activerecord/test/models/reply.rb')
0 files changed, 0 insertions, 0 deletions