aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/shop_account.rb
blob: 1580e8b20cbae67856390ef54b9464f4209449f9 (plain) (blame)
1
2
3
4
5
6
class ShopAccount < ActiveRecord::Base
  belongs_to :customer
  belongs_to :customer_carrier

  has_one :carrier, through: :customer_carrier
end