51c8183dee6ee86b70072ef7e715a5fe110ccfb5
1 class Pirate
< ActiveRecord
::Base
3 has_and_belongs_to_many
:parrots
4 has_many
:treasures, :as => :looter
6 has_many
:treasure_estimates, :through => :treasures, :source => :price_estimates
8 validates_presence_of
:catchphrase