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: 102,594 of 180,671
Downloads: 6,570
Daily
Ranking: 151,891 of 180,660
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 |
---|---|---|
16 | 861,639,035 | rake |
24 | 771,889,602 | rspec |
34 | 544,188,711 | activerecord |
238 | 133,206,073 | sqlite3 |
2,070 | 7,630,085 | appraisal |
Owners
# | Gravatar | Handle |
---|---|---|
1 | voltechs |