RESTful Rails Drops Semicolons

, Mar 29, 2007

From the Rails changelog:

Dropped the use of ; as a separator of non-crud actions on resources and went back to the vanilla slash. It was a neat idea, but lots of the non-crud actions turned out not to be RPC (as the ; was primarily intended to discourage), but legitimate sub-resources, like /parties/recent, which didn’t deserve the uglification of /parties;recent. Further more, the semicolon caused issues with caching and HTTP authentication in Safari. Just Not Worth It [DHH]

I actually liked the use of ;edit to get a form to edit something, but hey, it’s just URLs.

[via PragDave]

On March 29, 2007 6:06 PM, DHH said:

I liked ;edit too. But I hated ;recent and other sub-resources considerably more ;)

On March 29, 2007 6:42 PM, Stefan Tilkov said:

Fair enough.