Sha256: 773fb6066afd9afbbf239659d477dbb2ba7bdd3f7528bd09dc284eba9405d562

Contents?: true

Size: 708 Bytes

Versions: 3

Compression:

Stored size: 708 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
stager-0.1.2 lib/generators/stager/scaffold/USAGE
stager-0.1.1 lib/generators/stager/scaffold/USAGE
stager-0.1.0 lib/generators/stager/scaffold/USAGE