Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rails
  3. rails-template(mattbrictson)

rails-template(mattbrictson)

MITRuby

A Rails 7 application template with best-practices, pre-configured gems, and optional Vite support.

GitHubGitHub
1.1k stars221 forks0 contributors

What is rails-template(mattbrictson)?

mattbrictson/rails-template is a Rails application template designed to generate new Rails 7 projects with a curated set of best practices, pre-configured gems, and optional frontend tooling. It solves the problem of repetitive project setup by providing a standardized, production-ready foundation that includes linting, security checks, testing utilities, and deployment configurations.

Target Audience

Rails developers starting new Rails 7 projects who want a streamlined, opinionated setup with modern tooling and conventions without manually configuring common gems and workflows.

Value Proposition

Developers choose this template for its comprehensive, battle-tested defaults that save time on initial project configuration, its adherence to Rails conventions while adding useful enhancements, and its optional integration of Vite for a improved frontend development experience.

Overview

My former app template for Rails 7. All recommendations you see here have been moved to https://github.com/mattbrictson/nextgen

Use Cases

Best For

  • Quickly bootstrapping new Rails 7 applications with PostgreSQL
  • Projects wanting integrated code quality tools like RuboCop and ESLint from the start
  • Teams needing a standardized, production-ready Rails project template
  • Developers preferring Vite over Webpack for frontend asset management
  • Applications requiring Sidekiq for background job processing
  • Ensuring security best practices with Brakeman and bundler-audit pre-configured

Not Ideal For

  • Projects requiring databases other than PostgreSQL, as the template is hardcoded for it
  • Teams with strict, pre-existing Rails conventions who prefer to handpick and configure each gem
  • Quick prototypes or MVPs where the overhead of bundled linting, security, and background job tools is unnecessary
  • Developers seeking an actively maintained solution, since this project is deprecated in favor of nextgen

Pros & Cons

Pros

Comprehensive Tooling Integration

Bundles essential gems like Sidekiq for jobs, RuboCop for linting, and Brakeman for security, saving setup time and enforcing best practices from the start.

Modern Frontend Option

Offers optional Vite integration with hot reloading, providing a powerful alternative to Webpack, as detailed in the linked blog posts on Vite-Rails plugins.

Production-Ready Configuration

Pre-configures Postmark for email and prompts for git and production server details during generation, streamlining deployment setup.

Enhanced Developer Experience

Includes an improved bin/setup script and auto-opens the browser on server start, making local development smoother and more intuitive.

Cons

Deprecated Project

The README explicitly states it is no longer maintained and redirects to nextgen, meaning no updates or bug fixes for newer Rails versions or dependencies.

Opinionated and Inflexible

Forces specific gems and configurations (e.g., PostgreSQL-only, Postmark for email) that may not align with all projects, requiring manual overrides post-generation.

Complex Initial Setup

Requires specific Ruby 3.1+ and Node 16.14+ versions, and prompts for external details like git URLs during generation, which can hinder quick starts.

Frequently Asked Questions

Quick Stats

Stars1,072
Forks221
Contributors0
Open Issues0
Last commit2 years ago
CreatedSince 2015

Tags

#rails-template#developer-tools#ruby-gems#rails#boilerplate#vite#code-quality#postgresql#ruby-on-rails#heroku

Built With

S
Stylelint
V
Vite
P
PostgreSQL
R
RuboCop
R
Ruby on Rails
T
Thor
E
ESLint
S
Sidekiq

Included in

Rails3.9k
Auto-fetched 8 hours ago

Related Projects

suspenderssuspenders

A Rails application template with our standard defaults, optimized for deployment on Heroku.

Stars4,048
Forks519
Last commit3 days ago
jumpstart(excid3)jumpstart(excid3)

Easily jumpstart a new Rails application with a bunch of great features by default

Stars1,202
Forks313
Last commit1 year ago
docker-railsdocker-rails

Dockerize Rails 7 with ActionCable, Webpacker, Stimulus, Elasticsearch, Sidekiq

Stars1,104
Forks170
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub