Stager
Stager is a Rails 3.1 gem to create scaffolds. Scaffolds created are specific to 45north's needs. This is a webdevelopment agency in Amsterdam, The Netherlands.
version 0.1.1
Robin Brouwer
45north
Installation
Stager only works with Rails 3.1. Add the following to your Gemfile:
gem 'stager'
Now just run bundle install
and you're ready.
Usage
Use the User Model to create all actions.
rails g stager:scaffold User
Use the User Model to create two actions.
rails g stager:scaffold User index show
Use the User Model to create all actions, except one action.
rails g stager:scaffold User ! show
Create a new User Model with all actions.
rails g stager:scaffold User name:string email:string
Create a new User Model and three actions.
rails g stager:scaffold User name:string email:string index new create
Options.
--namespaced_model # Create a namespaced Model.
--skip_migration # Skip the migration file.
-- # Skip the timestamps.
--skip_presenter # Skip the presenter.