Skip to content

Commit

Permalink
Document that .build doesn't apply to has_many :through associations. C…
Browse files Browse the repository at this point in the history
…loses #10707 [GMFlash]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Jan 5, 2008
1 parent 83f6559 commit b144818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations.rb
Expand Up @@ -130,7 +130,7 @@ def clear_association_cache #:nodoc:
# #others<< | X | X | X # #others<< | X | X | X
# #others.push | X | X | X # #others.push | X | X | X
# #others.concat | 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 |
# #others.create!(attributes={}) | X | X | X # #others.create!(attributes={}) | X | X | X
# #others.size | X | X | X # #others.size | X | X | X
Expand Down

0 comments on commit b144818

Please sign in to comment.