Sha256: f0cc5ab54817e35650547f0854b8637f9431f055219d0ea30714206627ef4c82

Contents?: true

Size: 168 Bytes

Versions: 66

Compression:

Stored size: 168 Bytes

Contents

class Treasure < ActiveRecord::Base
  has_and_belongs_to_many :parrots
  belongs_to :looter, :polymorphic => true

  has_many :price_estimates, :as => :estimate_of
end

Version data entries

66 entries across 63 versions & 17 rubygems

Version Path
activerecord-2.1.0 test/models/treasure.rb
antfarm-0.3.0 rails/vendor/rails/activerecord/test/models/treasure.rb
antfarm-0.4.0 rails/vendor/rails/activerecord/test/models/treasure.rb
radiant-0.7.0 vendor/rails/activerecord/test/models/treasure.rb
radiant-0.8.0 vendor/rails/activerecord/test/models/treasure.rb
radiant-0.7.1 vendor/rails/activerecord/test/models/treasure.rb