Customize your new Rails app!
Your app name
rails new
Copy command
๐งฉ Use Rails preset?
Use Rails preset? Like API / Minial mode
None
Not using preset
API mode
Choose this if you plan to use the Rails app as API only
Minimal mode
This will skip all Active-* gems, bootsnap, builder, spring, system_tests, turbo etc
๐ Database
Choose a database, MySQL / PostgreSQL / SQLite
SQLite
The Rails default, Pieter Levels used it to scale remoteok.io!
Postgres
Recommended database with plenty of extensions
MySQL
Decent database
๐งน Housekeeping
Rails app housekeeping files
Create .gitignore file?
Create .gitignore file in your app
Create .keep files?
Create .keep files in empty directories
Add Bootsnap?
Bootsnap gem boot large Rails app faster by optmizing computations
Run
bundle install
?
Run bundle install after generating Gemfile
๐ฐ Asset Pipeline
Choose a Asset Pipeline strategy
None
Choose this to skip using Asset Pipeline
Sprockets
The original asset pipeline gem, default
PropShaft
Succesor to Sprockets, but still in Alpha
โ๏ธ Javascript
Choose a Javascript strategy
None
Choose this to skip generation of Javascript files
Importmap
Default Javascript management for Rails 7
esbuild
Extremely fast Javascript bundler!
Rollup
Decent module bundler for Javascript
webpack
Introduced in Rails 6
๐จ CSS
Choose a CSS strategy
None
Don't use any CSS bundler
Bootstrap
Good ol classic for developing responsive web design
Bulma
Modern CSS framework based on Flexbox
Tailwind
A utility-first CSS framework to rapidly build website
PostCSS
A tool for transforming CSS with JavaScript
Sass
Preprocess Sass file into CSS
๐ Rails Goodies
Rails library like ActiveRecord etc
Use ActionCable?
ActionCable integrates Web Sockets to your Rails app
Use ActiveJob?
ActiveJob is the default job framework for Rails
Use ActionMailbox?
ActionMailbox routes incoming emails to controller-like mailboxes
Use ActionMailer?
ActionMailer send emails using mailer classes and views
Use ActiveRecord?
Default ORM for Rails
Use ActiveStorage?
ActiveStorage facilitate file uploads and attach them to Active Record objects
Use ActionText?
ActionText allows user to edit rich text content easily
Use Hotwire / Turbo / Stimulus?
Send HTML over the wire!
Use JBuilder?
Generate JSON output using Simple Ruby DSL
๐ Test
Testing configuration
Create test files?
Create unit test files in your app
Create system test file?
Create system test files in your app
Made by
Axel Kee
, original concept by
Trinity
, works for Rails 7+.