Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 81cba78e9e
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (6 sloc) 0.209 kb
class Treasure < ActiveRecord::Base
has_and_belongs_to_many :parrots
belongs_to :looter, :polymorphic => true
has_many :price_estimates, :as => :estimate_of
accepts_nested_attributes_for :looter
end
Jump to Line
Something went wrong with that request. Please try again.