mirror of
https://github.com/github/rails.git
synced 2026-02-03 10:45:01 -05:00
use :dependent => :destroy rather than :dependent => true
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
4
actionpack/test/fixtures/topic.rb
vendored
4
actionpack/test/fixtures/topic.rb
vendored
@@ -1,3 +1,3 @@
|
||||
class Topic < ActiveRecord::Base
|
||||
has_many :replies, :include => [:user], :dependent => true
|
||||
end
|
||||
has_many :replies, :include => [:user], :dependent => :destroy
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user