Is this for a comment form? You would definitely need to send the article_id to the comment, so it knows which article it belongs to. But what I fail to see here is why this is a security failure. In order to show the page, the ID (or whatever fills in for it, cf friendly_id) must be in the URL.

Walter

On May 13, 2011, at 8:15 AM, Tomas R. wrote:

Which is the best way of doing this

I have an Article show page with a post form so when submitting the post I give the article_id argument to the post create method in a different
controller.

--
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 .


--
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-talk@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