Chris Habgood wrote:
> Is that not a get request?

What indicates a get request?  I'm telling it in every circumstance to 
my knowledge that it's a PUT request.  Correct me if I'm wrong as I'm a 
relatively new Rails programmer.

The following is straight out of 'rake routes'
-----------------------------------------------------
permit_comments PUT    /comments/permit(.:format) 
{:action=>"permit", :controller=>"comments"}
-----------------------------------------------------

The end goal here is to take what was passed in the comment_ids field in 
the params hash and for each id in comment_ids mark its respective 
comment's display_comment field true.

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

Reply via email to