Skip to content

Instantly share code, notes, and snippets.

View jeffmbellucci's full-sized avatar

Jeff jeffmbellucci

  • Grass Valley, CA
View GitHub Profile

Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.

Command Line Generator Info

Reference

You can get all of this information on the command line.

rails generate with no generator name will output a list of all available generators and some information about global options. rails generate GENERATOR --help will list the options that can be passed to the specified generator.