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 55c94e9e88..60022aa46b 100755 --- a/activerecord/test/fixtures/topic.rb +++ b/activerecord/test/fixtures/topic.rb @@ -1,5 +1,5 @@ class Topic < ActiveRecord::Base - has_many :replies, :foreign_key => "parent_id" + has_many :replies, :dependent => true, :foreign_key => "parent_id" serialize :content before_create :default_written_on |