Skip to content
This repository
tree: b1ea27630d
Fetching contributors…

Cannot retrieve contributors at this time

file 6 lines (5 sloc) 0.168 kb
1 2 3 4 5 6
class Treasure < ActiveRecord::Base
  has_and_belongs_to_many :parrots
  belongs_to :looter, :polymorphic => true

  has_many :price_estimates, :as => :estimate_of
end
Something went wrong with that request. Please try again.