From a9fb1544b0e7e6412e4cb64702585024e24276bf Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Wed, 5 Apr 2006 17:01:56 +0000 Subject: Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/tag.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test/fixtures/tag.rb') diff --git a/activerecord/test/fixtures/tag.rb b/activerecord/test/fixtures/tag.rb index ed3c6ce34a..c12ec0c188 100644 --- a/activerecord/test/fixtures/tag.rb +++ b/activerecord/test/fixtures/tag.rb @@ -1,5 +1,5 @@ class Tag < ActiveRecord::Base - has_many :taggings, :as => :taggable + has_many :taggings has_many :taggables, :through => :taggings - has_one :tagging, :as => :taggable + has_one :tagging end \ No newline at end of file -- cgit v1.2.3