# airbnb/ruby

Ruby Style Guide

Repository: https://github.com/airbnb/ruby
Canonical: https://ross.abutalabs.com/products/airbnb-ruby
Language: Ruby
License: MIT
License Family: permissive
Last push: 2025-12-19T06:38:30+00:00

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

## Adoption (not part of the score)
Stars 3892, forks 756 (observed 2026-08-28T04:08:28.379502+00:00)

## What it is
Airbnb's Ruby Style Guide, a documented set of coding conventions and best practices for writing Ruby and Rails code. It covers whitespace, naming, methods, classes, strings, and Rails-specific idioms, inspired by GitHub's and RuboCop's guides.

## Use cases
- standardize Ruby code style across a team
- onboard new Ruby developers to Airbnb conventions
- configure RuboCop rules to match a house style
- resolve debates about Ruby formatting and idioms
- learn idiomatic Ruby and Rails practices

## When to choose
- your team wants a well-known, battle-tested Ruby style guide to adopt
- you need a reference for consistent Ruby/Rails conventions
- you want a baseline for aligning RuboCop configuration

## When to avoid
- you need an executable linter or formatter rather than a written guide
- your organization already has its own style guide
- you need style rules for languages other than Ruby

## Facets
- artifact type: learning-resource
- maturity: stable
- function: documentation, linter, formatter
- domain: developer-tools, programming-languages, documentation
- platform: ruby
- tags: style-guide, ruby, coding-standards, rails, code-style

## Member repositories
- airbnb/ruby (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:28.379502+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-29T18:25:36.537278+00:00, confidence not recorded.
  - readme: https://github.com/airbnb/ruby (fetched 2026-08-28T04:08:28.379502+00:00, sha aca5fd5fcdf4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
