aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/order.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/order.rb')
-rw-r--r--activerecord/test/fixtures/order.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/order.rb b/activerecord/test/fixtures/order.rb
new file mode 100644
index 0000000000..ba114f22c6
--- /dev/null
+++ b/activerecord/test/fixtures/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