aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/price_estimate.rb
blob: d09e2a88a3487e0e55f0739a1aa1aa23db07b450 (plain) (blame)
1
2
3
4
class PriceEstimate < ActiveRecord::Base
  belongs_to :estimate_of, :polymorphic => true
  belongs_to :thing, polymorphic: true
end