e3832c6f79
Upgrade to Rails 2.3.5. Also work around this bug: https://rails.lighthouseapp.com/projects/8994/tickets/3524 created by the aforementioned Rails release.
9 lines
209 B
Ruby
9 lines
209 B
Ruby
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
|