Sha256: d562c5580c55c82a6f1e1a384a126458ad3ecba4624c853ca4359b6a07d2b883
Contents?: true
Size: 682 Bytes
Versions: 3
Compression:
Stored size: 682 Bytes
Contents
Usage: # Create UsersController and use the User Model to create all actions. rails g stager:controller Users # Create UsersController and use the User Model to create two actions. rails g stager:controller Users index show # Create UsersController and use the User Model to create all actions, except one action. rails g stager:controller Users ! show # Create UsersController with all actions and use these two columns inside the views. rails g stager:controller User name:string email:string Options: --namespaced_model # The Model is namespaced inside the Controller. --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/controller/USAGE |
stager-0.2.1 | lib/generators/stager/controller/USAGE |
stager-0.2.0 | lib/generators/stager/controller/USAGE |