aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/author.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/author.rb')
-rw-r--r--activerecord/test/fixtures/author.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/author.rb b/activerecord/test/fixtures/author.rb
index 1503e17f87..538ed7ac7f 100644
--- a/activerecord/test/fixtures/author.rb
+++ b/activerecord/test/fixtures/author.rb
@@ -105,5 +105,5 @@ end
class AuthorFavorite < ActiveRecord::Base
belongs_to :author
- belongs_to :favorite_author, :class_name => "Author", :foreign_key => 'favorite_author_id'
+ belongs_to :favorite_author, :class_name => "Author"
end