In AWDWR, (pg415), it suggests using the following to allow the custom
action to create a new resource:
map.resources :articles, :new => { :shortform => :post }
resulting in the following url method and path:
POST /articles/new;shortform
However having new in the url for a standard resource usually presents
the form prior to creation at url:
GET /articles/new
and the posting of the creation actually takes place at the following
URL:
POST /articles
So when adding a custom action to create a resource why not use:
map.resource :articles, :collection => { :shortform => :post }
which results in a url as follows that more closely matches the
standard restful urls?
POST /articles;shortform