diff options
Diffstat (limited to 'activerecord/test/models/treasure.rb')
-rw-r--r-- | activerecord/test/models/treasure.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/models/treasure.rb b/activerecord/test/models/treasure.rb new file mode 100644 index 0000000000..7a429e2a2f --- /dev/null +++ b/activerecord/test/models/treasure.rb @@ -0,0 +1,4 @@ +class Treasure < ActiveRecord::Base + has_and_belongs_to_many :parrots + belongs_to :looter, :polymorphic => true +end |