diff --git a/activerecord/test/fixtures/reply.rb b/activerecord/test/fixtures/reply.rb index d0ec8951279c4340ce05873be941eb0e0600ea5e..ed22deaa74f319b44fa809118e349b6fe5f884c2 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 @@ def validate_on_update end class SillyReply < Reply -end \ No newline at end of file +end