rails/activerecord/test/models/price_estimate.rb
2017-07-01 02:11:03 +03:00

6 lines
159 B
Ruby

# frozen_string_literal: true
class PriceEstimate < ActiveRecord::Base
belongs_to :estimate_of, polymorphic: true
belongs_to :thing, polymorphic: true
end