enumify adds an enum command to all ActiveRecord models which enables you to work with string attributes as if they were enums
yon
gem "enumify", "~> 0.0.3"