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,956 of 188,987
Downloads: 7,422
Daily
Ranking: 66,155 of 188,969
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 |
|---|---|---|
| 9 | 1,213,613,575 | rake |
| 29 | 944,054,300 | rspec |
| 36 | 744,794,682 | activerecord |
| 276 | 171,668,769 | sqlite3 |
| 2,022 | 12,822,122 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |