ExtensionLess Format plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/davidsmalley/extensionless_format.git
Example
=======
class Something < ActiveResource::Base self.site = "http://someone:password@an-app.com" self.prefix = "/api/" self.format = :xml_no_extension end
Calls to Something.find(:all) will now generate http://an-app.com/somethings rather than http://an-app.com/somethings.xml
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 6 months ago

