diff options
Diffstat (limited to 'activerecord/test/fixtures/topic.rb')
-rwxr-xr-x | activerecord/test/fixtures/topic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/topic.rb b/activerecord/test/fixtures/topic.rb index 60022aa46b..4c46122450 100755 --- a/activerecord/test/fixtures/topic.rb +++ b/activerecord/test/fixtures/topic.rb @@ -3,7 +3,7 @@ class Topic < ActiveRecord::Base serialize :content before_create :default_written_on - before_destroy :destroy_children #'self.class.delete_all "parent_id = #{id}"' + before_destroy :destroy_children def parent self.class.find(parent_id) |