← categories / category

Active Record Enumerations

See on ruby-toolbox ↗ Define and use enumerated types in your database models.

recent from @rubygems

active_enum

Define enum classes in Rails and use them to enumerate ActiveRecord attributes

  • 1.3.0 Jun 02 2025 gem.coop system

enumerate_it

Ruby Enumerations

  • 4.2.1 Oct 13 2026 gem.coop system

enumerize

Enumerated attributes with I18n and ActiveRecord/Mongoid/MongoMapper support

  • 3.0.0 Aug 04 2026 gem.coop system

power_enum

Allows you to treat instances of your ActiveRecord models as though they were an enumeration of values

  • 4.5.0 Sep 01 2026 gem.coop system

str_enum

String enums for Rails

  • 0.6.0 Apr 15 2026 gem.coop system

older from @rubygems

attribute_choices

Extends ActiveRecord attributes with a `:choices` pseudo-type that provides convenient methods for mapping each choice to its human readable form.

  • 1.0.2 Sep 30 2011 gem.coop system

classy_enum

A class based enumerator utility for Ruby on Rails

  • 4.0.1.beta1 Jul 22 2015 gem.coop system

const_enum

define ActiveRecord constants with DSL.

  • 1.0.5 Dec 11 2013 gem.coop system

easy_attributes

Easy Attributes for Ruby: Enum, Bytes, Money, float-as-integer views and forms

  • 0.2.0 Apr 28 2016 gem.coop system

enum_column3

Enable enum type for MySQL db.

  • 0.1.4 Mar 15 2012 gem.coop system

enumerate_by

Adds support for declaring an ActiveRecord class as an enumeration

  • 0.4.4 Mar 07 2010 gem.coop system

enumerated_attribute

Add enumerated attributes to your models and expose them in drop-down lists in your views

  • 0.2.8 May 24 2010 gem.coop system

enumify

enumify adds an enum command to all ActiveRecord models which enables you to work with string attributes as if they were enums

  • 1.0.0 Dec 01 2016 gem.coop system

simple_enum

Simple enum-like field support for models.

  • 2.3.2 Jul 02 2018 gem.coop system