News for hackers. Stuff that matters.
Re:REST question by rmk on Tuesday December 07, 2010 @09:26PM (#1981605)
Not necessarily, if you are using rails, you get update actions for free in your controller.

So you could do: curl -X PUT -d "<params>" http://myapp.com/project/1234

See section 11.6 (How to take snapshots of resources) in the book "RESTFul web services cookbook" for a discussion of this...

Re:REST question by stevepotter on Tuesday December 07, 2010 @10:18PM (#1981717)
I realize you get update actions. But what if you have different types of updates? Perhaps editing basic info like a project's Title. Or locking it? Or archiving? Are they lumped into the same action?
Re:REST question by rmk on Tuesday December 07, 2010 @10:49PM (#1981799)
No, you can actually generate different names for the actions that are part of url using rails routing, and you can require that they all use the HTTP PUT method.