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: 103,749 of 183,477
Downloads: 6,780
Daily
Ranking: 63,432 of 183,470
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 |
---|---|---|
10 | 969,073,546 | rake |
25 | 825,073,950 | rspec |
35 | 604,924,275 | activerecord |
259 | 143,118,777 | sqlite3 |
2,073 | 8,883,281 | appraisal |
Owners
# | Gravatar | Handle |
---|---|---|
1 | voltechs |