aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/person.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/person.rb')
-rw-r--r--activerecord/test/models/person.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/person.rb b/activerecord/test/models/person.rb
index a64405b246..5b92227f4a 100644
--- a/activerecord/test/models/person.rb
+++ b/activerecord/test/models/person.rb
@@ -7,7 +7,7 @@ class Person < ActiveRecord::Base
has_many :secure_posts, :through => :secure_readers
has_many :posts_with_no_comments, :through => :readers, :source => :post, :include => :comments, :conditions => 'comments.id is null'
- has_many :followers, foreign_key: 'friend_id', class_name: 'Friendship'
+ has_many :followers, :foreign_key => 'friend_id', :class_name => 'Friendship'
has_many :references
has_many :bad_references