David Heinemeier Hansson wrote:
If the answer is that #build and #create should be supported in
habtm, I can open a ticket and see what I can do about fixing #create
and getting some tests written.  If the answer is they are leftover
garbage, we should probably excise them so people aren't confused by
broken behavior.

They should indeed work. I think its just an omission born from the
fact that you rarely do it this way. But it would be great to be able
to. Please do make it work. Thanks!

For completeness it'd be nice if the create! method was also added to
each association type, so that one doesn't have to code build(...).save!
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to