aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/price_estimate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/price_estimate.rb')
-rw-r--r--activerecord/test/models/price_estimate.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/models/price_estimate.rb b/activerecord/test/models/price_estimate.rb
new file mode 100644
index 0000000000..f1f88d8d8d
--- /dev/null
+++ b/activerecord/test/models/price_estimate.rb
@@ -0,0 +1,6 @@
+# frozen_string_literal: true
+
+class PriceEstimate < ActiveRecord::Base
+ belongs_to :estimate_of, polymorphic: true
+ belongs_to :thing, polymorphic: true
+end