From b144818698ee8bd9190efe465611c9f83d5a685e Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 5 Jan 2008 02:21:25 +0000 Subject: Document that .build doesn't apply to has_many :through associations. Closes #10707 [GMFlash] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/associations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index a82ea23b84..8434644325 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -130,7 +130,7 @@ module ActiveRecord # #others<< | X | X | X # #others.push | X | X | X # #others.concat | X | X | X - # #others.build(attributes={}) | X | X | X + # #others.build(attributes={}) | X | X | # #others.create(attributes={}) | X | X | # #others.create!(attributes={}) | X | X | X # #others.size | X | X | X -- cgit v1.2.3