diff options
Diffstat (limited to 'activerecord/test/fixtures/post.rb')
-rw-r--r-- | activerecord/test/fixtures/post.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb index 9b42fbdb27..9dc18441d0 100644 --- a/activerecord/test/fixtures/post.rb +++ b/activerecord/test/fixtures/post.rb @@ -5,7 +5,7 @@ class Post < ActiveRecord::Base end end - belongs_to :author_with_posts, :class_name => "Author", :include => :posts + belongs_to :author_with_posts, :class_name => "Author", :foreign_key => :author_id, :include => :posts has_many :comments, :order => "body" do def find_most_recent |