aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/reply.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-18 20:25:50 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-18 20:25:50 +0000
commite18fad6c438200e147b0574cb30078d6a987a116 (patch)
tree480de00a39c2f021e72cc6100314c9efb92896e4 /activerecord/test/fixtures/reply.rb
parent6c67905c1c1acdb88b55fdc074399aecc6835d41 (diff)
downloadrails-e18fad6c438200e147b0574cb30078d6a987a116.tar.gz
rails-e18fad6c438200e147b0574cb30078d6a987a116.tar.bz2
rails-e18fad6c438200e147b0574cb30078d6a987a116.zip
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
Diffstat (limited to 'activerecord/test/fixtures/reply.rb')
-rwxr-xr-xactiverecord/test/fixtures/reply.rb2
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