Skip to content

Instantly share code, notes, and snippets.

@keeperofthenecklace
Created August 20, 2012 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keeperofthenecklace/3398787 to your computer and use it in GitHub Desktop.
Save keeperofthenecklace/3398787 to your computer and use it in GitHub Desktop.
Rails generator -h
it-macbook-albert:BDD_Testing albertmckeever$ rails generator integration_test -h (specific help)
it-macbook-albert:BDD_Testing albertmckeever$ rails generator -h
Usage: rails generate GENERATOR [args] [options]
General options:
-h, [--help] # Print generator's options and usage
-p, [--pretend] # Run but do not make any changes
-f, [--force] # Overwrite files that already exist
-s, [--skip] # Skip files that already exist
-q, [--quiet] # Suppress status output
Please choose a generator below.
Rails:
assets
controller
generator
helper
integration_test
mailer
migration
model
observer
performance_test
resource
scaffold
scaffold_controller
session_migration
task
Airbrake:
airbrake
AnnotateModels:
annotate_models:install
Coffee:
coffee:assets
Cucumber:
cucumber:install
FactoryGirl:
factory_girl:model
FriendlyId:
friendly_id
Jquery:
jquery:install
Js:
js:assets
Rspec:
rspec:install
TestUnit:
test_unit:controller
test_unit:helper
test_unit:integration
test_unit:mailer
test_unit:model
test_unit:observer
test_unit:performance
test_unit:plugin
test_unit:scaffold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment