Why its not possible to have more than one enum in Rails model? Though it throws out no error or warning, discovering that its not possible is quiet annoying.
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 checkout _prefix and _suffix, but that that doesn’t seems to work for me and doesn’t look nice.