Generator Stage plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://stonean.googlecode.com/svn/stage
You use stage just like scaffold:
./script/generate stage author first_name:string last_name:string exists app/models/ exists app/controllers/ exists app/helpers/ create app/views/authors exists app/views/layouts/ create app/views/data/ create app/views/authors/index.html.erb create app/views/authors/show.html.erb create app/views/authors/new.html.erb create app/views/authors/edit.html.erb create app/views/authors/_form.html.erb create app/views/authors/_data.html.erb dependency model exists app/models/ exists test/unit/ exists test/fixtures/ create app/models/author.rb create test/unit/author_test.rb create test/fixtures/authors.yml create db/migrate create db/migrate/001_create_authors.rb create app/controllers/authors_controller.rb create app/helpers/authors_helper.rb route map.resources :authors
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 20 days ago

