Sha256: 9f0d5a1bcf069d91c1c516a0e5dfd6c7227701cf049aab0cde72c30d21136c46

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 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

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/models/order.rb
ibm_db-5.4.1-x86-mingw32 test/models/order.rb
ibm_db-5.4.0-x86-mingw32 test/models/order.rb
ibm_db-5.3.2-x86-mingw32 test/models/order.rb