Ruby on Rails - How to Create Perfect Enum in 5 StepsIf you work on a project within the domain of Ruby on Rails, enum can be an attribute you’d want to understand and use frequently. Why is that? In short, enums (enumerations) make your work faster, more efficient and less erroneous. When your project starts you probably design ERD diagram or a similar one. Then, each time when a client passes ne
![Ruby on Rails - how to create perfect enum in 5 steps](https://cdn-ak-scissors.b.st-hatena.com/image/square/426305f8a7d866f815bdd98f89212d804201856d/height=288;version=1;width=512/https%3A%2F%2Fnaturaily.com%2Fassets%2Fimages%2Fperfect-enum.webp)