Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b1ea27630d
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (6 sloc) 0.217 kb
class Pirate < ActiveRecord::Base
belongs_to :parrot
has_and_belongs_to_many :parrots
has_many :treasures, :as => :looter
has_many :treasure_estimates, :through => :treasures, :source => :price_estimates
end
Jump to Line
Something went wrong with that request. Please try again.