Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Examples

The Rails apps in this directory were all generated by gem exec nextgen create with various interactive menu items chosen.

default

examples/default was created by choosing the default option for every question, and declining all optional Nextgen enhancements. This generally represents the default Rails "omakase" experience with a base level of improvements.

What version of Rails will you use?
‣ 7.1.3.2
  edge (7-1-stable branch)

Which database?
‣ SQLite3 (default)
  PostgreSQL (recommended)
  MySQL
  More options...

What style of Rails app do you need?
‣ Standard, full-stack Rails (default)
  API only

How will you manage frontend assets?
‣ Sprockets (default)
  Propshaft
  Vite

Which CSS framework will you use with the asset pipeline?
‣ None (default)
  Bootstrap
  Bulma
  PostCSS
  Sass
  Tailwind

Which JavaScript bundler will you use with the asset pipeline?
‣ Importmap (default)
  Bun
  ESBuild
  Rollup
  Webpack
  None

Which optional Rails frameworks do you need?
‣ ⬢ Hotwire
  ⬢ JBuilder
  ⬢ Action Mailer
  ⬢ Active Job
  ⬢ Action Cable
  ⬢ Active Storage
  ⬢ Action Text
  ⬢ Action Mailbox

Which test framework will you use?
‣ Minitest (default)
  RSpec
  None

Include system testing (capybara)?
‣ Yes (default)
  No

Which optional enhancements would you like to add?
‣ ⬡ Annotate Models
  ⬡ BasicAuth controller concern
  ⬡ Brakeman
  ⬡ Bundler Audit
  ⬡ capybara-lockstep
  ⬡ dotenv
  ⬡ ERB Lint
  ⬡ ESLint
  ⬡ Factory Bot
  ⬡ GitHub Actions
  ⬡ GitHub PR template
  ⬡ good_migrations
  ⬡ letter_opener
  ⬡ Open browser on startup
  ⬡ Overcommit
  ⬡ rack-canonical-host
  ⬡ rack-mini-profiler
  ⬡ RuboCop
  ⬡ shoulda
  ⬡ Sidekiq
  ⬡ Staging environment
  ⬡ Stylelint
  ⬡ Thor
  ⬡ Tomo
  ⬡ VCR

rspec

examples/rspec is the same as the default example, except "RSpec" was chosen when prompted to select a test framework:

Which test framework will you use?
  Minitest (default)
‣ RSpec
  None

vite

examples/vite shows what is generated when "Vite" is chosen as an alternative to Sprockets.

How will you manage frontend assets?
  Sprockets (default)
  Propshaft
‣ Vite

all

examples/all shows what is generated when all optional Nextgen enhancements are selected, including Sidekiq, Factory Bot, GitHub Actions, RuboCop, and more than a dozen others.

Which optional enhancements would you like to add?
‣ ⬢ Annotate Models
  ⬢ BasicAuth controller concern
  ⬢ Brakeman
  ⬢ Bundler Audit
  ⬢ capybara-lockstep
  ⬢ dotenv
  ⬢ ERB Lint
  ⬢ ESLint
  ⬢ Factory Bot
  ⬢ GitHub Actions
  ⬢ GitHub PR template
  ⬢ good_migrations
  ⬢ letter_opener
  ⬢ Open browser on startup
  ⬢ Overcommit
  ⬢ rack-canonical-host
  ⬢ rack-mini-profiler
  ⬢ RuboCop
  ⬢ shoulda
  ⬢ Sidekiq
  ⬢ Staging environment
  ⬢ Stylelint
  ⬢ Thor
  ⬢ Tomo
  ⬢ VCR