Sha256: 96f85fc9e386a8ee8b40a6ba55db137b7b63d85eb9f4df256444b66a5921a1ad

Contents?: true

Size: 141 Bytes

Versions: 2

Compression:

Stored size: 141 Bytes

Contents

class Customer < ActiveRecord::Base
  belongs_to :support_rep, class_name: 'Employee', foreign_key: 'support_rep_id'
  has_many :invoices
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chinook_database-0.1.6 lib/chinook_database/models/customer.rb
chinook_database-0.1.5 lib/chinook_database/models/customer.rb