Created
January 18, 2010 07:35
-
-
Save rizwanreza/279864 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: script/generate generator [options] [args] | |
Rails Info: | |
-v, --version Show the Rails version number and quit. | |
-h, --help Show this help message and quit. | |
General Options: | |
-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 normal output. | |
-t, --backtrace Debugging: show backtrace on errors. | |
-c, --svn Modify files with subversion. (Note: svn must be in path) | |
-g, --git Modify files with git. (Note: git must be in path) | |
Installed Generators | |
Rubygems: cucumber, devise, devise_install, devise_views, feature, form, formtastic, formtastic_stylesheets, install_rubigen_scripts, integration_spec, nifty_authentication, nifty_config, nifty_layout, nifty_scaffold, paperclip, rspec, rspec_controller, rspec_model, rspec_scaffold, session, uploader | |
Builtin: controller, helper, integration_test, mailer, metal, migration, model, observer, performance_test, plugin, resource, scaffold, session_migration | |
More are available at http://wiki.rubyonrails.org/rails/pages/AvailableGenerators | |
1. Download, for example, login_generator.zip | |
2. Unzip to directory /Users/rizwanreza/.rails/generators/login | |
to use the generator with all your Rails apps | |
or to /Users/rizwanreza/code/active/bucketwise/lib/generators/login | |
to use with this app only. | |
3. Run generate with no arguments for usage information | |
script/generate login | |
Generator gems are also available: | |
1. gem search -r generator | |
2. gem install login_generator | |
3. script/generate login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment