# ankane/production_rails

Best practices for running Rails in production

Repository: https://github.com/ankane/production_rails
Canonical: https://ross.abutalabs.com/products/production_rails
License: CC-BY-4.0
License Family: other
Last push: 2026-03-31T20:38:05+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 75, release rhythm 35, longevity 100
- inputs: {"age_days": 4384, "days_push": 155, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2319, forks 138 (observed 2026-08-28T04:06:37.032355+00:00)

## What it is
A curated guide of best practices for running Ruby on Rails applications in production, covering security, logging, error reporting, migrations, background jobs, email, and performance. It is a documentation-style resource with recommendations and links to supporting gems rather than runnable software.

## Use cases
- learn how to run rails in production
- rails production checklist
- best practices for deploying ruby on rails apps
- how to set up logging and error reporting in rails
- safe database migration practices for rails
- rails performance and caching recommendations
- setting up background jobs and email in a rails app

## When to choose
- you are preparing a Rails app for production deployment
- you want an opinionated checklist of production concerns for Rails
- you are onboarding a team to Rails operational best practices

## When to avoid
- you need runnable code or a library to install rather than a guide
- you use a framework other than Rails
- you need exhaustive, up-to-the-minute coverage of every gem option

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools, monitoring, logging, security, caching, error-handling
- domain: web-development, backend, developer-tools, awesome-lists, tutorials
- platform: ruby, self-hosted
- tags: rails, ruby-on-rails, best-practices, production, guide, checklist, devops, web-server

## Member repositories
- ankane/production_rails (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.032355+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:38:50.875059+00:00, confidence not recorded.
  - readme: https://github.com/ankane/production_rails (fetched 2026-08-28T04:06:37.032355+00:00, sha 0321401f94c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
