Categories: None [Edit]
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,776 of 186,995
Downloads: 7,030
Daily
Ranking: 63,037 of 186,959
Downloads: 9
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 1,129,028,222 | rake |
27 | 909,782,048 | rspec |
36 | 698,603,704 | activerecord |
276 | 161,097,927 | sqlite3 |
2,016 | 11,653,828 | appraisal |
Owners
# | Gravatar | Handle |
---|---|---|
1 | voltechs |