Sha256: 54ee656ce9ed93619b1f0974b176bf9deb74e8cd4525f494c4fd4421f18d1828

Contents?: true

Size: 789 Bytes

Versions: 3

Compression:

Stored size: 789 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.
  --skip_helper       # Skip the helper.
  --skip_views        # Skip the views.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stager-0.2.2 lib/generators/stager/scaffold/USAGE
stager-0.2.1 lib/generators/stager/scaffold/USAGE
stager-0.2.0 lib/generators/stager/scaffold/USAGE