aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/reply.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/reply.rb')
-rwxr-xr-xactiverecord/test/fixtures/reply.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/reply.rb b/activerecord/test/fixtures/reply.rb
index ed22deaa74..04a50e9322 100755
--- a/activerecord/test/fixtures/reply.rb
+++ b/activerecord/test/fixtures/reply.rb
@@ -33,4 +33,5 @@ class Reply < Topic
end
class SillyReply < Reply
+ belongs_to :reply, :foreign_key => "parent_id", :counter_cache => :replies_count
end