From b3065a51a927ded6b22835837598e92df606eaed Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 9 Feb 2006 19:37:05 +0000 Subject: Polymorphic join support for has_one associations (has_one :foo, :as => :bar). Closes #3785. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/tag.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/test/fixtures/tag.rb') diff --git a/activerecord/test/fixtures/tag.rb b/activerecord/test/fixtures/tag.rb index d54f3cd680..78b6f6666c 100644 --- a/activerecord/test/fixtures/tag.rb +++ b/activerecord/test/fixtures/tag.rb @@ -1,3 +1,4 @@ class Tag < ActiveRecord::Base has_many :taggings, :as => :taggable + has_one :tagging, :as => :taggable end \ No newline at end of file -- cgit v1.2.3