(originally published at https://jasonfleetwoodboldt.com/courses/stepping-up-rails/enumerated-types-in-rails-and-postgres/) MEET ENUMERATED TYPES An enum is an enumerated type. In Rails, this means that you define a specific list of allowed values up front. Historically, you did this with an enum defined on your model, like so: enum status: [:pending, :in_progress: :finished] You would then create an integer field…