enumerate 0.0.7
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
Gemfile:
=
instalar:
=
Development Dependencies (5):
activerecord
>= 3.0.6, ~> 3.0
appraisal
>= 0.3.8, ~> 0.3
rake
>= 0.9.3, ~> 0.9
rspec
>= 2.3.0, ~> 2.3
sqlite3
>= 1.3.3, ~> 1.3