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,660 of 192,483
Downloads: 7,566
Daily
Ranking: 48,072 of 192,454
Downloads: 3
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,305,187,129 | rake |
| 29 | 974,777,823 | rspec |
| 36 | 783,862,747 | activerecord |
| 278 | 181,261,037 | sqlite3 |
| 2,016 | 13,902,981 | appraisal |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | voltechs |