aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/shop_account.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/shop_account.rb')
-rw-r--r--activerecord/test/models/shop_account.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/models/shop_account.rb b/activerecord/test/models/shop_account.rb
new file mode 100644
index 0000000000..1580e8b20c
--- /dev/null
+++ b/activerecord/test/models/shop_account.rb
@@ -0,0 +1,6 @@
+class ShopAccount < ActiveRecord::Base
+ belongs_to :customer
+ belongs_to :customer_carrier
+
+ has_one :carrier, through: :customer_carrier
+end