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,582 of 180,643
Downloads: 6,568
Daily
Ranking: 141,617 of 180,629
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 | 860,399,527 | rake |
24 | 771,261,281 | rspec |
34 | 543,530,731 | activerecord |
238 | 133,096,476 | sqlite3 |
2,073 | 7,612,757 | appraisal |
Owners
# | Gravatar | Handle |
---|---|---|
1 | voltechs |