On 20 January 2012 13:03, Tim Shaffer <[email protected]> wrote:
> You have theĀ  developer/:user_name/deleteĀ route set to use "delete" as the
> method, rather than "get"
>
> Since browsers usually don't support sending requests other than post or
> get, you'll need to pass a "_method=delete" parameter to that route
>
> Check out the rails guide on routing for more information:
> http://guides.rubyonrails.org/routing.html#resources-on-the-web

Also do not pass the user name but the id.

Colin

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