Sha256: 50eb813c01ded09aab538b36359867d591168ec3a2b017ebf67b837ce035c519

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

# 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_timestamps   # Skip the timestamps.
    --skip_presenter    # Skip the presenter.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stager-0.1.2 README.md
stager-0.1.1 README.md