Re:Rails 4.0: PATCH will replace PUT as the primary HTTP met...
by aaronblohowiak on Saturday February 25, 2012 @09:38PM
(#3634601)
_method param is used to override the true http method with the one rails should use for routing, so everything can go over vanilla POST
[ Parent
| on HN ]
Re:Rails 4.0: PATCH will replace PUT as the primary HTTP met...
by binarysoul on Saturday February 25, 2012 @10:51PM
(#3634744)
yes this is exactly right, its POST for compatibility reasons, rails puts a special parameter in the form submit to map to PUT (for resourceful routes)