Sha256: 3a60814995f525bbccb046952fd2de98ce3feb403969945e786c175ad8dfa4cb

Contents?: true

Size: 234 Bytes

Versions: 6

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true

class Order < ActiveRecord::Base
  belongs_to :billing, class_name: "Customer", foreign_key: "billing_customer_id"
  belongs_to :shipping, class_name: "Customer", foreign_key: "shipping_customer_id"
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/models/order.rb
ibm_db-5.4.1 test/models/order.rb
ibm_db-5.4.0 test/models/order.rb
ibm_db-5.3.2 test/models/order.rb
ibm_db-5.3.1 test/models/order.rb
ruby-on-quails-0.1.0 activerecord/test/models/order.rb