aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/topic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/topic.rb')
-rwxr-xr-xactiverecord/test/fixtures/topic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/topic.rb b/activerecord/test/fixtures/topic.rb
index 1941080ec7..9b20f02cb0 100755
--- a/activerecord/test/fixtures/topic.rb
+++ b/activerecord/test/fixtures/topic.rb
@@ -1,5 +1,5 @@
class Topic < ActiveRecord::Base
- has_many :replies, :dependent => true, :foreign_key => "parent_id"
+ has_many :replies, :dependent => :destroy, :foreign_key => "parent_id"
serialize :content
before_create :default_written_on