diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 02:21:25 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 02:21:25 +0000 |
commit | b144818698ee8bd9190efe465611c9f83d5a685e (patch) | |
tree | c1e55ce7d6716c0b7f8d80bec62f02d9525cc176 /activerecord/lib/active_record | |
parent | 83f65594dedd2f969bc28ba1ce424a40224f3161 (diff) | |
download | rails-b144818698ee8bd9190efe465611c9f83d5a685e.tar.gz rails-b144818698ee8bd9190efe465611c9f83d5a685e.tar.bz2 rails-b144818698ee8bd9190efe465611c9f83d5a685e.zip |
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
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |