adzap/active_enum: Define enum classes in Rails and use them to enumerate ActiveRecord attributes, with I18n support
06-Jun-2025 11
Define enum classes in Rails and use them to enumerate ActiveRecord attributes. Brings together some ideas of similar plugins that I liked and does it they way I prefer.
Enum values are stored in memory at the moment but I plan to add database and possibly others. See Storage Backends.
adzap/active_enum: Define enum classes in Rails and use them to enumerate ActiveRecord attributes, with I18n support #ruby #rubydeveloper #rubyonrails #adzap/active_enum: #Define #classes #Rails #enumerate #ActiveRecord #attributes, #support #activerecord #classes https://rubyonrails.ba/link/adzap-active_enum-define-enum-classes-in-rails-and-use-them-to-enumerate-activerecord-attributes-with-i18n-support