From 964b67dd0eb2b43cc8097492c52ce777c534cd11 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sat, 4 Mar 2006 15:11:17 +0000 Subject: Make counter_cache work with polymorphic belongs_to git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/tagging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/fixtures/tagging.rb') 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 -- cgit v1.2.3