Maulin pa wrote:

> The user_article_comment_path([...@user, @article])
> will point to the "new" action in the comment controller and rails
> knows to use user_id and article_id from the [...@user, @article]

In other words, you want to create a new many-to-many relationship ?

Your problem is that one user can create several comments on the same 
article, and that is not part of the many:many deal. I'm afraid you'll 
need to go a more traditional route.
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to