diff options
author | Jamis Buck <jamis@37signals.com> | 2006-03-04 15:11:17 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-03-04 15:11:17 +0000 |
commit | 964b67dd0eb2b43cc8097492c52ce777c534cd11 (patch) | |
tree | a7c9df0f71a30dff2d9e9c3b62cc39eaf4c6f7cb /activerecord/test/fixtures/tagging.rb | |
parent | c0d24778867e8b39c160542923f4ccb6b3f48d30 (diff) | |
download | rails-964b67dd0eb2b43cc8097492c52ce777c534cd11.tar.gz rails-964b67dd0eb2b43cc8097492c52ce777c534cd11.tar.bz2 rails-964b67dd0eb2b43cc8097492c52ce777c534cd11.zip |
Make counter_cache work with polymorphic belongs_to
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/tagging.rb')
-rw-r--r-- | activerecord/test/fixtures/tagging.rb | 2 |
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 |