aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/order.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/order.rb')
-rw-r--r--activerecord/test/models/order.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/models/order.rb b/activerecord/test/models/order.rb
index e838c0b70d..699be53959 100644
--- a/activerecord/test/models/order.rb
+++ b/activerecord/test/models/order.rb
@@ -1,4 +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'
+ belongs_to :billing, class_name: "Customer", foreign_key: "billing_customer_id"
+ belongs_to :shipping, class_name: "Customer", foreign_key: "shipping_customer_id"
end