Sha256: fcfebc0c75ed52beff994893217ed9d844a5341cf7a6045e77bd337d902df605

Contents?: true

Size: 215 Bytes

Versions: 131

Compression:

Stored size: 215 Bytes

Contents

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

131 entries across 128 versions & 25 rubygems

Version Path
radiant-0.7.2 vendor/rails/activerecord/test/models/order.rb
activerecord-2.3.10 test/models/order.rb
activerecord-2.3.9 test/models/order.rb
activerecord-2.3.9.pre test/models/order.rb
vibes-bj-1.2.2 spec/rails_root/vendor/rails/activerecord/test/models/order.rb
vibes-bj-1.2.1 spec/rails_root/vendor/rails/activerecord/test/models/order.rb
webroar-0.4.0 src/admin_panel/vendor/rails/activerecord/test/models/order.rb
nbudin-castronaut-0.7.5 vendor/activerecord/test/models/order.rb
radiant-0.9.1 vendor/rails/activerecord/test/models/order.rb
activerecord-2.3.8 test/models/order.rb
activerecord-2.3.8.pre1 test/models/order.rb
activerecord-2.3.7 test/models/order.rb
activerecord-2.3.6 test/models/order.rb
radiant-0.8.2 vendor/rails/activerecord/test/models/order.rb
radiant-0.9.0.rc2 vendor/rails/activerecord/test/models/order.rb
webroar-0.3.1 src/admin_panel/vendor/rails/activerecord/test/models/order.rb
webroar-0.3.0 src/admin_panel/vendor/rails/activerecord/test/models/order.rb
usher-0.7.0 spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/order.rb
usher-0.7.0 spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/order.rb
usher-0.7.0 spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/order.rb