3 ms·
_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
by aaronblohowiak 15y ago
_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
- binarysoul 15y agoyes 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)