I would like to create an enum field at sone migration I\'m doing, I tried searching in google but I can\'t find the way to do it in the migration
the only thing I f
Similarly, the enumerated_attribute gem manages enums at the object level.
enum_attr :status, %w(accepted cancelled ^pending)
Define a string in the migration
t.string :status
Also provides some nice features like dynamic predicate methods.
http://github.com/jeffp/enumerated_attribute/tree/master