activerecord-postgres_enum, на сайте с May 07, 2023 08:59
bibendi/activerecord-postgres_enum: Integrate PostgreSQL's enum data type into ActiveRecord's schema and migrations. Running the above will create a table :person, with a column :person_mood of type :mood. This will also be saved on schema.rb so that rake db:schema:load works as expected. To drop an existing enum