Postgres enums in Ruby on Rails

What's this about?

Postgres enums in Ruby on Rails. Using the create_enum method in a Rails migration, we can create a new Enum datatype in postgres that we can use from our models. We'll also talk about several enum configurations for enabling prefixes or suffixes and disabling scopes that are automatically generated for you.

Author

CJ Avilla

CJ Avilla

I'm interested in learning new programming languages; building high leverage tools; and recently, sharing what I've learned from dozens of other incredible and generous friends and online strangers in the form of video content.