active_enum
Define enum classes in Rails and use them to enumerate ActiveRecord attributes
- 1.3.0 Jun 02 2025 gem.coop system
Define enum classes in Rails and use them to enumerate ActiveRecord attributes
Ruby Enumerations
Enumerated attributes with I18n and ActiveRecord/Mongoid/MongoMapper support
Allows you to treat instances of your ActiveRecord models as though they were an enumeration of values
String enums for Rails
Extends ActiveRecord attributes with a `:choices` pseudo-type that provides convenient methods for mapping each choice to its human readable form.
A class based enumerator utility for Ruby on Rails
define ActiveRecord constants with DSL.
Easy Attributes for Ruby: Enum, Bytes, Money, float-as-integer views and forms
Enable enum type for MySQL db.
Adds support for declaring an ActiveRecord class as an enumeration
Add enumerated attributes to your models and expose them in drop-down lists in your views
enumify adds an enum command to all ActiveRecord models which enables you to work with string attributes as if they were enums
Simple enum-like field support for models.