Categories: None [Edit]

enumerate

https://rubygems.org/gems/enumerate
https://github.com/twilightcoders/enumerate
Enumerate adds an `enumerate` command to all ActiveRecord models, enabling you to work with string or integer columns as if they were enums. The following features are added to your model: Validation - ensures that the field only receives accepted values Predicate Methods - adds ? and ! functions for each enum value Scopes - you can easily query for values of the enum

Total

Ranking: 106,842 of 196,658
Downloads: 7,743

Daily

Ranking: 111,482 of 196,619
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,416,600,134rake
291,020,526,382rspec
37839,032,779activerecord
286195,503,478sqlite3
1,98615,746,021appraisal

Owners

#GravatarHandle
1iconvoltechs