Active Record Enumerations

enumerize

Enumerated attributes with I18n and ActiveRecord/Mongoid/MongoMapper support

Rubygem enumerize

Total Downloads
612464
Releases
21
Current Version
0.11.0
Released
2015-03-29 00:00:00 UTC
First Release
2012-01-26 00:00:00 UTC

Github brainspec/enumerize

Watchers
844
Forks
81
Development activity
Less active
Last commit
2015-04-02 09:56:23 UTC
Contributors
30
Issues

Simple enum

Provides enum-like fields for ActiveRecord, ActiveModel and Mongoid models.

Rubygem simple_enum

Total Downloads
203747
Releases
28
Current Version
1.6.9
Released
2014-04-29 00:00:00 UTC
First Release
2009-10-07 01:00:00 UTC
Depends on following gems
Depending Gems
2

Github lwe/simple_enum

Watchers
288
Forks
44
Development activity
Less active
Last commit
2015-04-17 15:28:36 UTC

Enumerated attribute

Enumerated model attributes and view helpers

Rubygem enumerated_attribute

Total Downloads
59099
Releases
7
Current Version
0.2.16
Released
2010-08-11 07:00:00 UTC
First Release
2010-05-22 07:00:00 UTC
Depends on following gems
Depending Gems
3

Github jeffp/enumerated_attribute

Watchers
201
Forks
57
Development activity
Inactive
Last commit
2012-07-02 20:33:26 UTC

Classy Enum

A utility that adds class based enum functionality to ActiveRecord attributes

Rubygem classy_enum

Total Downloads
116569
Releases
45
Current Version
4.0.0
Released
2014-12-28 00:00:00 UTC
First Release
2010-09-21 04:00:00 UTC
Depends on following gems
Depending Gems
1

Github beerlington/classy_enum

Watchers
233
Forks
25
Development activity
Less active
Last commit
2014-12-28 14:37:52 UTC

Active Enum

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

Rubygem active_enum

Total Downloads
193760
Releases
29
Current Version
0.9.12
Released
2012-09-10 14:00:00 UTC
First Release
2009-11-04 16:00:00 UTC
Depends on following gems
Depending Gems
1

Github adzap/active_enum

Watchers
88
Forks
28
Development activity
Inactive
Last commit
2014-05-14 00:07:57 UTC
Contributors
5
Issues

Enumerate it

Enumerations for Ruby with some magic powers!

Rubygem enumerate_it

Total Downloads
128770
Releases
37
Current Version
1.2.5
Released
2015-03-10 00:00:00 UTC
First Release
2010-03-16 03:00:00 UTC
Depends on following gems
Depending Gems
3

Github cassiomarques/enumerate_it

Watchers
158
Forks
28
Development activity
Less active
Last commit
2015-03-11 13:11:40 UTC

enum_column3

Enable enum type for MySQL db.

Rubygem enum_column3

Total Downloads
55664
Releases
2
Current Version
0.1.4
Released
2012-03-15 00:00:00 UTC
First Release
2011-09-16 00:00:00 UTC
Depends on following gems
Depending Gems
0

Github electronick/enum_column

Watchers
85
Forks
37
Development activity
Inactive
Last commit
2015-04-10 20:58:21 UTC
Top contributors
Contributors
4
Issues

power_enum

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.

Rubygem power_enum

Total Downloads
79585
Releases
63
Current Version
2.9.0
Released
2015-03-20 00:00:00 UTC
First Release
2011-09-18 00:00:00 UTC
Depends on following gems
Depending Gems
5

Github albertosaurus/power_enum

Watchers
21
Forks
7
Development activity
Inactive
Last commit
2014-01-21 04:03:33 UTC

Enumerate by

Adds support for declaring an ActiveRecord class as an enumeration

Rubygem enumerate_by

Total Downloads
9721
Releases
5
Current Version
0.4.4
Released
2010-03-07 05:00:00 UTC
First Release
2009-04-30 04:00:00 UTC
Depends on following gems
Depending Gems
4

Github pluginaweek/enumerate_by

Watchers
39
Forks
10
Development activity
Inactive
Last commit
2011-08-06 22:04:39 UTC
Top contributors
Contributors
3
Issues

enumify

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

Rubygem enumify

Total Downloads
11341
Releases
8
Current Version
0.1.0
Released
2014-09-26 00:00:00 UTC
First Release
2011-12-20 00:00:00 UTC
Depends on following gems
Depending Gems
0

Github yonbergman/enumify

Watchers
21
Forks
7
Development activity
Inactive
Last commit
2014-09-26 20:29:27 UTC
Contributors
4
Issues

attribute_choices

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

Rubygem attribute_choices

Total Downloads
6836
Releases
3
Current Version
1.0.2
Released
2011-05-12 00:00:00 UTC
First Release
2011-05-11 22:00:00 UTC
Depends on following gems
Depending Gems
0

Github christos/attribute_choices

Watchers
19
Forks
3
Development activity
Inactive
Last commit
2011-09-30 15:58:43 UTC
Top contributors
Contributors
2
Issues

const_enum

define ActiveRecord constants with DSL.and more!

Rubygem const_enum

Total Downloads
7559
Releases
6
Current Version
1.0.5
Released
2013-12-11 00:00:00 UTC
First Release
2012-07-19 00:00:00 UTC
Depending Gems
0

Github techscore/const_enum

Watchers
6
Forks
0
Development activity
Inactive
Last commit
2013-12-11 10:14:26 UTC
First commit
Top contributors
Contributors
1
Issues

easy_attributes

Easy Attributes is a Ruby DSL to give more control to attributes.

Rubygem easy_attributes

Total Downloads
5526
Releases
3
Current Version
0.1.3
Released
2010-08-06 04:00:00 UTC
First Release
2010-04-28 04:00:00 UTC
Depends on following gems
Depending Gems
0

Github afair/easy_attributes

Watchers
2
Forks
0
Development activity
Inactive
Last commit
2015-02-23 22:15:23 UTC
First commit
Top contributors
Contributors
1
Issues
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.