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: 103,573 of 183,021
Downloads: 6,748

Daily

Ranking: 107,996 of 183,007
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
10950,327,518rake
25816,166,900rspec
35594,014,485activerecord
250141,179,420sqlite3
2,0708,657,160appraisal

Owners

#GravatarHandle
1iconvoltechs