From d84106c5b7ca2a5ac7e2b90f6b087c2c3898ba7f Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Tue, 27 Oct 2009 20:15:26 +1000 Subject: There is no query method for belongs_to associations. --- activerecord/lib/active_record/associations.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 497115e4ff..5cce1c8736 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1033,7 +1033,6 @@ module ActiveRecord # A Post class declares belongs_to :author, which will add: # * Post#author (similar to Author.find(author_id)) # * Post#author=(author) (similar to post.author_id = author.id) - # * Post#author? (similar to post.author == some_author) # * Post#build_author (similar to post.author = Author.new) # * Post#create_author (similar to post.author = Author.new; post.author.save; post.author) # The declaration can also include an options hash to specialize the behavior of the association. -- cgit v1.2.3