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,680 of 187,591
Downloads: 7,282

Daily

Ranking: 58,794 of 187,571
Downloads: 9

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,165,649,814rake
28925,037,502rspec
36719,592,156activerecord
275165,742,106sqlite3
2,02812,151,096appraisal

Owners

#GravatarHandle
1iconvoltechs