mirror of
https://github.com/github/rails.git
synced 2026-01-26 23:08:58 -05:00
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:
4
activerecord/test/fixtures/reply.rb
vendored
4
activerecord/test/fixtures/reply.rb
vendored
@@ -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"
|
||||
@@ -31,4 +33,4 @@ class Reply < Topic
|
||||
end
|
||||
|
||||
class SillyReply < Reply
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user