aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/treasure.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/treasure.rb')
-rw-r--r--activerecord/test/fixtures/treasure.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/treasure.rb b/activerecord/test/fixtures/treasure.rb
index cbb3ec3c08..7a429e2a2f 100644
--- a/activerecord/test/fixtures/treasure.rb
+++ b/activerecord/test/fixtures/treasure.rb
@@ -1,3 +1,4 @@
class Treasure < ActiveRecord::Base
has_and_belongs_to_many :parrots
+ belongs_to :looter, :polymorphic => true
end