From d5fe242d2a8aad4868a905da97da3a242fa265a4 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 21 Aug 2012 17:22:42 -0300 Subject: Use Ruby 1.8 hash syntax Introduced in backport 648c5a1369ed64608c3ca43a5ebc917687d20010. --- activerecord/test/models/person.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/models/person.rb') 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 -- cgit v1.2.3