This is the application template that JetRockets recommend for Rails 7 projects. This tepmlate is based on original idea of Matt Brictson application template https://github.com/mattbrictson/rails-template.
This template currently works with:
- Rails 7.1.x
- Bundler 2.x
- PostgreSQL
- Vite
To generate a Rails application using this template, pass the -m
option to rails new
, like this:
rails new blog \
-T \
--database=postgresql \
--javascript=vite \
-m https://github.com/raw/jetrockets/rails-template/main/application/template.rb