DEV Community

loading...

Discussion on: Postgres enums with Rails

Collapse
jasonfb profile image
Jason Fleetwood-Boldt • Edited

unfortunately the db/schema.rb file is messed up with this approach

Could not dump table "users" because of following StandardError

Unknown type 'xyz_setting' for column 'xyz'

stackoverflow.com/questions/646689...

Collapse
dsalahutdinov profile image
Dmitry Salahutdinov Author

Hi! Good point. To have the "native" schema.rb support of postgres enum you could use this ruby gem github.com/bibendi/activerecord-po...