From 3f1acf49bd4cfa902388f000ca96c848c3666017 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 15 Sep 2006 07:02:05 +0000 Subject: Deprecation tests. Remove warnings for dynamic finders and for the foo_count ethod if it's also an attribute. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/fixtures/post.rb') 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 -- cgit v1.2.3