From e18fad6c438200e147b0574cb30078d6a987a116 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 18 Mar 2006 20:25:50 +0000 Subject: Update lingering uses of deprecated association dependency options (closes #4169) [coffe2code] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/reply.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/fixtures/reply.rb') 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 -- cgit v1.2.3