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,787 of 187,960
Downloads: 7,321
Daily
Ranking: 111,035 of 187,950
Downloads: 2
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,177,763,422 | rake |
| 28 | 930,361,546 | rspec |
| 36 | 726,153,212 | activerecord |
| 275 | 167,444,416 | sqlite3 |
| 2,029 | 12,315,698 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |