diff options
Diffstat (limited to 'activerecord/test/models/order.rb')
-rw-r--r-- | activerecord/test/models/order.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/models/order.rb b/activerecord/test/models/order.rb new file mode 100644 index 0000000000..e838c0b70d --- /dev/null +++ b/activerecord/test/models/order.rb @@ -0,0 +1,4 @@ +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 |