Rails: Default generators

Posted . Visible to the public.

This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from command line via rails generate GENERATOR [args] [options]. List all generators (including rails generators) with rails g -h.

generator model migration controller entry in routes.rb views tests
scaffold
resource
model
controller
migration

Also see this blog post Show archive.org snapshot .

Daniel Straßner
Last edit
Henning Koch
License
Source code in this card is licensed under the MIT License.
Posted by Daniel Straßner to makandra dev (2017-03-30 13:21)