diff options
Diffstat (limited to 'activerecord/test/fixtures/post.rb')
-rw-r--r-- | activerecord/test/fixtures/post.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb index ada18af115..4c2ccb3f43 100644 --- a/activerecord/test/fixtures/post.rb +++ b/activerecord/test/fixtures/post.rb @@ -23,6 +23,8 @@ class Post < ActiveRecord::Base has_many :taggings, :as => :taggable has_many :tags, :through => :taggings + has_one :tagging, :as => :taggable + has_many :categorizations, :foreign_key => :category_id has_many :authors, :through => :categorizations |