Plugins - CRUD Generator

StarAdd to favorites

Generates a CRUD-ready controller and model.

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.

http://svn.dpiddy.net/plugins/crud_generator/

  • Currently 3.7/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Misc. Enhancements

Tags

Comments

Add a comment
Josh Starcher 8 Aug 2006

Great idea, and usable as it is, but it needs a little work. It currently generats invalid html for some of the templates, and some of the variables names are missing an @

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?