Y
Hacker News
new
|
ask
|
show
|
jobs
by
wycats
5907 days ago
Rails default scaffolding and routing absolutely do use the full REST design, supporting both PUT and DELETE as well as inbound XML and JSON payloads
1 comments
techiferous
5907 days ago
Sorry. I thought Rails had to make compromises, like faking PUT.
link
WALoeIII
5907 days ago
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.
link