CRUD Generator plugin

Plugin details

Generates a CRUD-ready controller and model.

Repositoryhttp://svn.dpiddy.net/plugins/crud_generator/ Author Dan Peterson Tags CRUD, generator LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://svn.dpiddy.net/plugins/crud_generator/

Example:

  script/generate crud thing


Will generate a Thing model (and associated migration) and a Things controller.
This generator assumes the use of simply_restful so don't forget to put something like:

  map.resource :thing


in your routes.rb.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 7 months ago