Plugins - SimplyRestful Backport
Add to favoritesMany of us have seen the RailsConf 2006 speech by DHH and want to experiment with a more RESTful Rails. With a little poking around, you will see that the stable Rails 1.1.4 (at the time of writing) is not able to support the latest features of SimplyRestful. I was able to backport most of it (not much), except those features which require Edge Rails:
- must install request_routing plugin
- tests work with a modified assert_recognizes
- route separators like ’;’ were changed to ’/’
Also, I have written a patch for form_tag so you can use ’:method => :put’. Requests for prototype and other Edge Rails conversions related to SimplyRestful can be included on demand — please visit the Trac site below and post a ticket.

A lot of Edge Rails is using the :method option for tags to 'hack' the request method now. I made my own version for form_tag (which I think a little better) so you don't need to worry about what is going on under the hood -- as it should be.
The following are all valid.
form_tag { :action => 'update' }, { :method => :put } form_tag :action => 'update', :method => :put form_tag { :action => 'update', :method => :put }
Because there are no route separators, of course, Rails 1.1.4 simply cannot do '.:format'.