Category

Active Record Enumerations

Define and use enumerated types in your database models.

1.04
No release in over a year
Enumerated attributes with I18n and ActiveRecord/Mongoid/MongoMapper support
2020
2021
2022
2023
2024
2025
0.28
No release in over 3 years
Low commit activity in last 3 years
Provides enum-like fields for ActiveRecord, ActiveModel and Mongoid models.
2020
2021
2022
2023
2024
2025
0.11
No commit activity in last 3 years
No release in over 3 years
A utility that adds class based enum functionality to ActiveRecord attributes
2020
2021
2022
2023
2024
2025
0.1
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Enumerated model attributes and view helpers
2020
2021
2022
2023
2024
2025
0.07
Low commit activity in last 3 years
No release in over a year
Define enum classes in Rails and use them to enumerate ActiveRecord attributes
2020
2021
2022
2023
2024
2025
0.05
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Enable enum type for MySQL db.
2020
2021
2022
2023
2024
2025
0.04
Low commit activity in last 3 years
A long-lived project that still receives updates
Power Enum allows you to treat instances of your ActiveRecord models as though they were an enumeration of values. It allows you to cleanly solve many of the problems that the traditional Rails alternatives handle poorly if at all. It is particularly suitable for scenarios where your Rails applic...
2020
2021
2022
2023
2024
2025
0.04
Low commit activity in last 3 years
A long-lived project that still receives updates
String enums for Rails
2020
2021
2022
2023
2024
2025
0.02
No commit activity in last 3 years
No release in over 3 years
Enumify lets you add an enum command to ActiveRecord models There are four things that the enumify gems adds to your model Validation - The enumify adds a validation to make sure that the field only receives accepted values Super Cool Methods - adds ? and ! functions for each...
2020
2021
2022
2023
2024
2025
0.02
No commit activity in last 3 years
No release in over 3 years
Adds support for declaring an ActiveRecord class as an enumeration
2020
2021
2022
2023
2024
2025
0.01
No release in over 3 years
Low commit activity in last 3 years
Extends ActiveRecord attributes with a `:choices` pseudo-type that provides convenient methods for mapping each choice to its human readable form.
2020
2021
2022
2023
2024
2025
0.0
No commit activity in last 3 years
No release in over 3 years
define ActiveRecord constants with DSL.and more!
2020
2021
2022
2023
2024
2025
0.0
No commit activity in last 3 years
No release in over 3 years
Easy Attributes is a Ruby DSL to give more control to attributes. It provides a unique attribute enum setup, and conversions to bytes and float-as-integer (money, frequencies, Ratings, etc.) / fixed-decimal precision as integer (See the easy_money gem).
2020
2021
2022
2023
2024
2025