Sha256: 198fe956225f85683dfd60cc3c56525cf506eda1a0dc2c79fd4f252acd5d5c1a

Contents?: true

Size: 209 Bytes

Versions: 45

Compression:

Stored size: 209 Bytes

Contents

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

Version data entries

45 entries across 45 versions & 10 rubygems

Version Path
webroar-0.3.1 src/admin_panel/vendor/rails/activerecord/test/models/treasure.rb
webroar-0.3.0 src/admin_panel/vendor/rails/activerecord/test/models/treasure.rb
simply_stated-0.0.5 vendor/gems/ruby/1.8/gems/activerecord-2.3.5/test/models/treasure.rb
simply_stated-0.0.4 vendor/gems/ruby/1.8/gems/activerecord-2.3.5/test/models/treasure.rb
activerecord-2.3.5 test/models/treasure.rb