From c95f066bf5b5121ff86db090eff3436e63db9230 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Tue, 20 Nov 2007 21:53:22 +0000 Subject: Add 'foxy' support for fixtures of polymorphic associations. Closes #10183 [jbarnette, David Lowenfels] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/parrot.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/test/fixtures/parrot.rb') diff --git a/activerecord/test/fixtures/parrot.rb b/activerecord/test/fixtures/parrot.rb index 340c73b907..10850669e7 100644 --- a/activerecord/test/fixtures/parrot.rb +++ b/activerecord/test/fixtures/parrot.rb @@ -1,4 +1,5 @@ class Parrot < ActiveRecord::Base has_and_belongs_to_many :pirates has_and_belongs_to_many :treasures + has_many :loots, :as => :looter end -- cgit v1.2.3