Six Amazing Ways to Create Enumerated Types in Rails and Postgres Matthew • July 13, 2022 Here are six (amazing!) ways to implement enumerated types in Rails running on top of Postgres, at least one of which should suit you depending on your needs, current Rails version, and database of choice. Let's get right to it, yeah? Scenario: Order status For this example, let's consider an Order class that