# ledermann/rails-settings

Manage settings with Ruby on Rails

Repository: https://github.com/ledermann/rails-settings
Canonical: https://ross.abutalabs.com/products/rails-settings
Language: Ruby
License: MIT
License Family: permissive
Topics: rails, settings, configuration, ruby, rubygems
Last push: 2025-10-17T15:57:45+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 47, release rhythm 8, longevity 100
- inputs: {"age_days": 6318, "days_push": 320, "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 1028, forks 142 (observed 2026-08-28T04:03:17.552225+00:00)

## What it is
A Ruby gem for Rails that manages per-record settings for ActiveRecord models, storing them as serialized hashes in a dedicated database table. It supports namespaced settings, defaults, custom validation classes, and query scopes.

## Use cases
- store per-user preferences like theme or dashboard layout in Rails
- add namespaced key-value settings to ActiveRecord models
- manage configurable defaults for model records
- persist user settings in a database table with Rails
- validate model settings with custom rules

## When to choose
- you need per-record, namespaced settings with defaults in a Rails app
- you want settings stored in the database rather than YAML files
- you need custom validations on setting values

## When to avoid
- you need global application-wide configuration only
- you are not using Rails or ActiveRecord
- you need high-volume key-value storage with fast lookups

## Facets
- artifact type: library
- maturity: active
- function: configuration-management, serialization, orm
- domain: web-development, developer-tools, databases
- platform: ruby, jvm
- tags: rails, activerecord, rubygems, settings-management, namespaced-settings

## Member repositories
- ledermann/rails-settings (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:17.552225+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-30T07:07:47.524884+00:00, confidence not recorded.
  - readme: https://github.com/ledermann/rails-settings (fetched 2026-08-28T04:03:17.552225+00:00, sha fe109c8dd5fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
