diff options
author | Jon Leighton <j@jonathanleighton.com> | 2010-12-30 20:41:02 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2010-12-31 20:00:44 +0000 |
commit | 38fbfa6390c449dfc9a3db2975e65bd0fd665b18 (patch) | |
tree | ea2a47a03413d39eec1f5a2d8eb87cec71af0d87 /activesupport | |
parent | 27ea0481bb68b2a09ade4f442beea3eac812b72c (diff) | |
download | rails-38fbfa6390c449dfc9a3db2975e65bd0fd665b18.tar.gz rails-38fbfa6390c449dfc9a3db2975e65bd0fd665b18.tar.bz2 rails-38fbfa6390c449dfc9a3db2975e65bd0fd665b18.zip |
Refactor configure_dependency_for_has_many to use AssociationCollection#delete_all. It was necessary to change test_before_destroy in lifecycle_test.rb so that it checks topic.replies.size *before* doing the destroy, as afterwards it will now (correctly) be 0.
Diffstat (limited to 'activesupport')
0 files changed, 0 insertions, 0 deletions