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,965 of 189,432
Downloads: 7,449
Daily
Ranking: 96,800 of 189,408
Downloads: 0
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,232,715,961 | rake |
| 29 | 949,021,172 | rspec |
| 36 | 751,227,832 | activerecord |
| 277 | 172,842,777 | sqlite3 |
| 2,023 | 12,969,511 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |