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,220 of 197,085
Downloads: 7,752
Daily
Ranking: 87,723 of 197,066
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 |
|---|---|---|
| 8 | 1,428,256,062 | rake |
| 29 | 1,025,379,194 | rspec |
| 37 | 845,746,438 | activerecord |
| 285 | 196,939,989 | sqlite3 |
| 1,983 | 15,922,445 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |