diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-22 00:11:33 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-22 00:11:33 +0000 |
commit | 0b61be466678233fbd693d44a4fae15adb6d925b (patch) | |
tree | 42c778cbeb4f538a7939f04b6fd826e5500e92b4 /actionpack | |
parent | b96fbe81b8e998b2880eeaffdd072347d851b943 (diff) | |
download | rails-0b61be466678233fbd693d44a4fae15adb6d925b.tar.gz rails-0b61be466678233fbd693d44a4fae15adb6d925b.tar.bz2 rails-0b61be466678233fbd693d44a4fae15adb6d925b.zip |
use :dependent => :destroy rather than :dependent => true
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/fixtures/topic.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/fixtures/topic.rb b/actionpack/test/fixtures/topic.rb index 0929de7e08..0beeecf28d 100644 --- a/actionpack/test/fixtures/topic.rb +++ b/actionpack/test/fixtures/topic.rb @@ -1,3 +1,3 @@ class Topic < ActiveRecord::Base - has_many :replies, :include => [:user], :dependent => true -end
\ No newline at end of file + has_many :replies, :include => [:user], :dependent => :destroy +end |