aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/tagging.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/tagging.rb')
-rw-r--r--activerecord/test/fixtures/tagging.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/tagging.rb b/activerecord/test/fixtures/tagging.rb
index 06d0144b5a..8bc844c370 100644
--- a/activerecord/test/fixtures/tagging.rb
+++ b/activerecord/test/fixtures/tagging.rb
@@ -1,4 +1,4 @@
class Tagging < ActiveRecord::Base
belongs_to :tag
- belongs_to :taggable, :polymorphic => true
+ belongs_to :taggable, :polymorphic => true, :counter_cache => true
end \ No newline at end of file