Enumify lets you add an enum command to ActiveRecord models There are four things that the enumify gems adds to your model Validation - The enumify adds a validation to make sure that the field only receives accepted values Super Cool Methods - adds ? and ! functions for each enum value (canceled? - is it canceled, canceled! - change the state to canceled) Callback support - you can add a x_callback method which will be called each time the status changes Scopes - you can easily query for values of the enum
 Popularity
Downloads
34,352
Stars
26
Forks
8
Watchers
1
 Releases
Current version
1.0.0
Total releases
10
First release
Latest release
 Issues
Open
0
Closed
4
Total Issues
4
Closure Rate
100%
 Pull Requests
Open
0
Rejected
2
Merged
6
Acceptance Rate
75%
 Development
Primary Language
Ruby
Licenses
MIT
Average date of last 50 commits
more than 2 years ago
Reverse Dependencies
0