# huacnlee/rails-settings-cached

Global settings for your Rails application.

Repository: https://github.com/huacnlee/rails-settings-cached
Canonical: https://ross.abutalabs.com/products/rails-settings-cached
Language: Ruby
License: NOASSERTION
License Family: other
Topics: configuration, config, rails, setting
Last push: 2024-12-10T05:54:27+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 28, longevity 100
- inputs: {"age_days": 5704, "days_push": 631, "days_rel": 631, "gap_med": 63, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1121, forks 204 (observed 2026-08-28T04:03:39.915403+00:00)

## What it is
A Ruby gem for Rails that stores global application settings as key-value pairs in the database, exposed through an ActiveRecord-like API with typed fields, defaults, and validations. Settings are cached for performance and can be grouped into scopes for admin UIs.

## Use cases
- store global settings for a rails app in the database
- manage editable app configuration without redeploying
- add an admin-editable settings page with typed fields and validation
- cache key-value config in rails
- define default and readonly application settings

## When to choose
- you need database-backed, runtime-editable global settings in a Rails app
- you want typed fields with defaults, validations, and caching out of the box
- you need grouped settings keys for building an admin UI

## When to avoid
- you only need static environment-based config (use ENV or Rails credentials)
- you are not using Ruby on Rails or ActiveRecord
- you need per-user or per-model settings rather than global ones

## Facets
- artifact type: library
- maturity: active
- function: configuration-management, caching, orm
- domain: web-development, developer-tools, databases
- platform: ruby
- tags: rails-gem, global-settings, activerecord, key-value-store, database-backed-config, rails

## Member repositories
- huacnlee/rails-settings-cached (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.915403+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-30T06:41:00.621079+00:00, confidence not recorded.
  - readme: https://github.com/huacnlee/rails-settings-cached (fetched 2026-08-28T04:03:39.915403+00:00, sha 31da1376a9fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
