Permalink
Browse files

use :dependent => :destroy rather than :dependent => true

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent b96fbe8 commit 0b61be466678233fbd693d44a4fae15adb6d925b @jeremy jeremy committed Sep 22, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/fixtures/topic.rb
@@ -1,3 +1,3 @@
class Topic < ActiveRecord::Base
- has_many :replies, :include => [:user], :dependent => true
-end
+ has_many :replies, :include => [:user], :dependent => :destroy
+end

0 comments on commit 0b61be4

Please sign in to comment.