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.