ActiveRecord Enumerations

Enumerated model attributes and view helpers Last commit: Thu, 12 Aug 2010 03:04:41 +0000

gem install enumerated_attribute

Downloads: 1389

v0.2.16
240

enumerate_by

70

44
6
Adds support for declaring an ActiveRecord class as an enumeration Last commit: Fri, 19 Mar 2010 19:11:13 +0000

gem install enumerate_by

Downloads: 674

v0.4.4
181

enumerate_it

20

17
1
Have a legacy database and need some enumerations in your models to match those stupid '4 rows/2 columns' tables with foreign keys and stop doing joins just to fetch a simple description? Or maybe use some integers instead of strings as the code for each value of your enumerations? Here's EnumerateIt. Last commit: Wed, 14 Apr 2010 18:13:49 +0000

gem install enumerate_it

Downloads: 648

v0.5.0
229

simple_enum

1

2
0
Simple enum-like field support for ActiveRecord (including validations and i18n) Last commit: Wed, 07 Jul 2010 07:42:39 +0000

gem install simple_enum

Downloads: 839

v1.2.0
40