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: 105,906 of 193,553
Downloads: 7,629

Daily

Ranking: 47,914 of 193,540
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,341,379,803rake
29987,555,911rspec
36799,127,714activerecord
279185,234,346sqlite3
2,00614,412,974appraisal

Owners

#GravatarHandle
1iconvoltechs