Ask A Question


You’re not receiving notifications from this thread.

Enum in Models and Forms

Stéphane Paquet asked in Tips

I put together information I collected across different blogs, tutorials about how to use Enums in Models and Forms (focus on Rails 7). I might have missed some use cases, so feel free to comment either here or on the blog itself.


I am here to give you this wonderful thing

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 83,038+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.