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,854 of 188,572
Downloads: 7,400
Daily
Ranking: 58,971 of 188,550
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,198,049,204 | rake |
| 29 | 939,301,389 | rspec |
| 36 | 738,304,892 | activerecord |
| 275 | 170,317,880 | sqlite3 |
| 2,026 | 12,636,451 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |