Fearless Fool wrote in post #977722:
> I'm stumped.  My link_to that is supposed to generate a DELETE is
> generating a GET.  And I don't understand why.

Browsers generally only support GET and POST.  When Rails generates a 
DELETE link, what it's actually doing is generating a GET link with 
_method=delete.  Rails parses the _method parameter and treats it 
exactly as if it were a real DELETE request.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

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