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: 107,539 of 198,025
Downloads: 7,768

Daily

Ranking: 55,892 of 197,989
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,452,458,801rake
291,035,635,780rspec
37859,974,150activerecord
285200,157,958sqlite3
1,97916,283,670appraisal

Owners

#GravatarHandle
1iconvoltechs