Explicitly require topic from reply fixture.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
427300e08f
commit
56ade75131
|
@ -1,3 +1,5 @@
|
||||||
|
require 'fixtures/topic'
|
||||||
|
|
||||||
class Reply < Topic
|
class Reply < Topic
|
||||||
belongs_to :topic, :foreign_key => "parent_id", :counter_cache => true
|
belongs_to :topic, :foreign_key => "parent_id", :counter_cache => true
|
||||||
has_many :silly_replies, :dependent => true, :foreign_key => "parent_id"
|
has_many :silly_replies, :dependent => true, :foreign_key => "parent_id"
|
||||||
|
@ -31,4 +33,4 @@ class Reply < Topic
|
||||||
end
|
end
|
||||||
|
|
||||||
class SillyReply < Reply
|
class SillyReply < Reply
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue