Hmmm, this does work, at least *that* error doesn't occur anymore. But now I'm getting the error
Attempt to call private method where I call create. Also calling create on an instance of an upload doesn't seem right to (n00by) me. Is that the correct way to add a new instance to the *collection* associated with has_many? In the rails getting started guide<http://guides.rubyonrails.org/getting_started.html#highlighter_199716> they do it the way I tried it: @comment = @post.comments.create(params[:comment]) (Where :comments is a has_many reference in post) but obviously that didn't work. I mean am I getting something wrong? What's the correct way to create and add instances to a has_many association? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

