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,573 of 183,021
Downloads: 6,748
Daily
Ranking: 107,996 of 183,007
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 | 950,327,518 | rake |
25 | 816,166,900 | rspec |
35 | 594,014,485 | activerecord |
250 | 141,179,420 | sqlite3 |
2,070 | 8,657,160 | appraisal |
Owners
# | Gravatar | Handle |
---|---|---|
1 | voltechs |