Is there a reference/cheat sheet for Rails generate command?
command-line, ruby, ruby-on-rails
Solution
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.
Problem
I am curious if there is some kind of reference or cheat sheet for the Rails generate command? Something that lists out all the possible generators (model, controller, migration, etc.) as well as options you can pass in for each (--skip-migration, etc.).