DataFor turns YAML in your Rails config directory into queryable, read-only models -- countries, currencies, plans, and other reference data that rarely changes and doesn't belong in your database. Built on Ruby's Data.define and Rails' config_for, with a familiar find, find_by, and where API, plus a transform proc that lets one config file power multiple query surfaces.
Required Ruby Version
>= 3.4
Authors
Andy Cohen
Versions
- 0.1.0 May 14, 2026 (9.5 KB)