The Ruby Toolbox - Know your options!

enumerize

1.13
Enumerated attributes with I18n and ActiveRecord/Mongoid/MongoMapper support
 Popularity
Downloads
2,269,478
Stars
1,330
Forks
139
Watchers
36
 Releases
Total releases
29
First release
Latest release

simple_enum

0.35
Provides enum-like fields for ActiveRecord, ActiveModel and Mongoid models.
 Popularity
Downloads
692,038
Stars
366
Forks
52
Watchers
9

enumerate_it

0.2
Enumerations for Ruby with some magic powers!
 Popularity
Downloads
343,181
Stars
212
Forks
38
Watchers
8
 Releases
Total releases
49
First release
Latest release

classy_enum

0.19
A utility that adds class based enum functionality to ActiveRecord attributes
 Popularity
Downloads
301,385
Stars
268
Forks
29
Watchers
7

enumerated_attribute

0.17
Enumerated model attributes and view helpers
 Popularity
Downloads
83,920
Stars
196
Forks
64
Watchers
8
 Releases
Total releases
7
First release
Latest release

active_enum

0.14
Define enum classes in Rails and use them to enumerate ActiveRecord attributes
 Popularity
Downloads
271,757
Stars
114
Forks
32
Watchers
6

enum_column3

0.1
Enable enum type for MySQL db.
 Popularity
Downloads
85,924
Stars
80
Forks
38
Watchers
3
 Releases
Total releases
2
First release
Latest release

power_enum

0.06
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 application is not the only user of the database, such as when it's used for analytics or reporting.
 Popularity
Downloads
201,962
Stars
4
Forks
11
Watchers
1

enumerate_by

0.03
Adds support for declaring an ActiveRecord class as an enumeration
 Popularity
Downloads
13,852
Stars
40
Forks
10
Watchers
1
 Releases
Total releases
5
First release
Latest release

enumify

0.03
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 enum value (canceled? - is it canceled, canceled! - change the state to canceled) Callback support - you can add a x_callback method which will be called each time the status changes Scopes - you can easily query for values of the enum
 Popularity
Downloads
27,541
Stars
26
Forks
8
Watchers
1
 Releases
Total releases
10
First release
Latest release

attribute_choices

0.01
Extends ActiveRecord attributes with a `:choices` pseudo-type that provides convenient methods for mapping each choice to its human readable form.
 Popularity
Downloads
9,928
Stars
18
Forks
4
Watchers
2

const_enum

0.0
define ActiveRecord constants with DSL.and more!
 Popularity
Downloads
12,715
Stars
6
Forks
0
Watchers
4

easy_attributes

0.0
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).
 Popularity
Downloads
9,025
Stars
2
Forks
0
Watchers
1