From 57b7532b910f9258cad4111db79349d2d63be6d4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 2 Dec 2005 06:03:43 +0000 Subject: Work-in progress for providing better join model support and polymorphic associations git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/post.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activerecord/test/fixtures/post.rb') diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb index bf44d8a0a5..61249c43e0 100644 --- a/activerecord/test/fixtures/post.rb +++ b/activerecord/test/fixtures/post.rb @@ -19,7 +19,9 @@ class Post < ActiveRecord::Base has_and_belongs_to_many :categories has_and_belongs_to_many :special_categories, :join_table => "categories_posts" - + + has_many :taggings, :as => :taggable + def self.what_are_you 'a post...' end -- cgit v1.2.3