Read more

Rails: Default generators

Daniel Straßner
March 30, 2017Software engineer at makandra GmbH

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
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Also see this blog post Show archive.org snapshot .

Daniel Straßner
March 30, 2017Software engineer at makandra GmbH
Posted by Daniel Straßner to makandra dev (2017-03-30 15:21)