Why can't we have more than one enum

Why its not possible to have more than one enum in Rails model? Though
throws out no error or warning, discovering that its not possible is

Cold this be added as a feature request for future Rails version?

If two enums have a same keyword say like

enum enum1: [:a , :b, :c]
enum enum2: [:d, :b, :f]

Then Rails can throw out an exception that :b is replicated. I did
_prefix and _suffix, but that that doesn’t seems to work for me and
look nice.

Karthikeyan A K
https://goo.gl/NYcfo3 - My Ruby Book

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs