aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-11-04 05:46:28 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-11-04 05:46:28 +0000
commit56ade7513156b06b2d8b8df28bfdde2427e422cb (patch)
treeb0c54ddd9508c4476b8a3a5ed068d42e4828a665 /activerecord/test/fixtures
parent427300e08f8ab711a95ecfd66fa6bda82a970aea (diff)
downloadrails-56ade7513156b06b2d8b8df28bfdde2427e422cb.tar.gz
rails-56ade7513156b06b2d8b8df28bfdde2427e422cb.tar.bz2
rails-56ade7513156b06b2d8b8df28bfdde2427e422cb.zip
Explicitly require topic from reply fixture.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rwxr-xr-xactiverecord/test/fixtures/reply.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/reply.rb b/activerecord/test/fixtures/reply.rb
index d0ec895127..ed22deaa74 100755
--- a/activerecord/test/fixtures/reply.rb
+++ b/activerecord/test/fixtures/reply.rb
@@ -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 \ No newline at end of file
+end