资 源 简 介
# AutoRest first public release 31/10/2007 #
> Simplify the development of rest based applications by using a generic controller implementation.
> Based on scaffold\_resource of rails 1.2.3.
> With a single call of a class method, includes the default methods for a rest controller
> using user-supplied configuration.
> Smart defaults are generated for all the missing configuration parameters.
# Author #
> Emmanuel Oga. http://EmmanuelOga.WordPress.com
## Usage ##
> For a complete sample app, check the sample app in the downloads.
> That app should be extracted to the root of the plugin. The sample app specs covers a great deal of the functionality that would be very difficult to spec without a complete rails app.
> By using the ar\_spec\_scaffold generator, a controller with all the options ready for customize is generated.
> The generator usage is the same as scaffold\_resource:
> ruby script/generate auto\_rest ResourceName [optional\_field\_1:type] [...] [optional\_field\_n: