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:
Jeremy Kemper 2005-11-04 05:46:28 +00:00
parent 427300e08f
commit 56ade75131
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
require 'fixtures/topic'
class Reply < Topic
belongs_to :topic, :foreign_key => "parent_id", :counter_cache => true
has_many :silly_replies, :dependent => true, :foreign_key => "parent_id"