aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-09-22 00:11:33 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-09-22 00:11:33 +0000
commit0b61be466678233fbd693d44a4fae15adb6d925b (patch)
tree42c778cbeb4f538a7939f04b6fd826e5500e92b4
parentb96fbe81b8e998b2880eeaffdd072347d851b943 (diff)
downloadrails-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
-rw-r--r--actionpack/test/fixtures/topic.rb4
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