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,854 of 193,053
Downloads: 7,595

Daily

Ranking: 99,064 of 193,030
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,324,198,171rake
29981,100,860rspec
36791,573,334activerecord
279183,297,673sqlite3
2,00814,151,298appraisal

Owners

#GravatarHandle
1iconvoltechs