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: 105,053 of 189,933
Downloads: 7,477
Daily
Ranking: 52,898 of 189,920
Downloads: 6
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,248,043,640 | rake |
| 29 | 954,622,386 | rspec |
| 36 | 758,347,959 | activerecord |
| 278 | 174,274,420 | sqlite3 |
| 2,025 | 13,153,659 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |