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,854 of 188,572
Downloads: 7,400

Daily

Ranking: 58,971 of 188,550
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,198,049,204rake
29939,301,389rspec
36738,304,892activerecord
275170,317,880sqlite3
2,02612,636,451appraisal

Owners

#GravatarHandle
1iconvoltechs