John Topley’s Weblog

Rails Tip #2: Generator Help

There’s built-in help available for the Rails (code) generators. You can get general help and find out which generators are installed by typing:

script/generate

—Or for generator-specific help and options, type:

script/generate generator

—Where generator is the type of thing that you want to generate, e.g. model.

Comments

There aren’t any comments on this post. Comments are closed.


Archives

  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012

More Archives


Sign In