3 ms·
Sorry. I thought Rails had to make compromises, like faking PUT.
by techiferous 17y ago
Sorry. I thought Rails had to make compromises, like faking PUT.
- WALoeIII 17y agoIt 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.