aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/citation.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/citation.rb')
-rw-r--r--activerecord/test/models/citation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/citation.rb b/activerecord/test/models/citation.rb
index 3d87eb795c..7d06387f56 100644
--- a/activerecord/test/models/citation.rb
+++ b/activerecord/test/models/citation.rb
@@ -1,3 +1,3 @@
class Citation < ActiveRecord::Base
- belongs_to :reference_of, :class_name => "Book", :foreign_key => :book2_id
+ belongs_to :reference_of, class_name: "Book", foreign_key: :book2_id
end