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: 107,685 of 198,774
Downloads: 7,794
Daily
Ranking: 48,871 of 198,739
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 |
|---|---|---|
| 8 | 1,469,998,038 | rake |
| 29 | 1,043,852,410 | rspec |
| 37 | 870,809,494 | activerecord |
| 286 | 202,679,695 | sqlite3 |
| 1,979 | 16,581,782 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |