Re:The reason behind the half-REST design pattern
by techiferous on Wednesday April 21, 2010 @01:09AM
(#1281447)
Sorry. I thought Rails had to make compromises, like faking PUT.
[ Parent
| on HN ]
Re:The reason behind the half-REST design pattern
by WALoeIII on Wednesday April 21, 2010 @02:58AM
(#1281549)
It fakes the PUT to help out browsers. If you pass in a _method paramater it overrides the actual HTTP verb, but this is actually done in middleware above Rails, the controller sees it as PUT.