News for hackers. Stuff that matters.
Re:The reason behind the half-REST design pattern by wycats on Wednesday April 21, 2010 @01:00AM (#1281437)
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
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.
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.