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: 104,820 of 188,252
Downloads: 7,366

Daily

Ranking: 88,108 of 188,232
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,188,890,086rake
29935,425,343rspec
36732,685,118activerecord
275169,053,244sqlite3
2,02812,482,758appraisal

Owners

#GravatarHandle
1iconvoltechs