diff options
Diffstat (limited to 'activerecord/test/fixtures/reply.rb')
-rwxr-xr-x | activerecord/test/fixtures/reply.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/reply.rb b/activerecord/test/fixtures/reply.rb index 44a23cd2dd..bf7781e814 100755 --- a/activerecord/test/fixtures/reply.rb +++ b/activerecord/test/fixtures/reply.rb @@ -2,7 +2,7 @@ require 'fixtures/topic' class Reply < Topic belongs_to :topic, :foreign_key => "parent_id", :counter_cache => true - has_many :replies, :class_name => "SillyReply", :dependent => true, :foreign_key => "parent_id" + has_many :replies, :class_name => "SillyReply", :dependent => :destroy, :foreign_key => "parent_id" validate :errors_on_empty_content validate_on_create :title_is_wrong_create |