Enum collection translation

Hi,

I’m working on a project that uses many Rails enums. I realized my views were getting messy and repetitive, because I was frequently looping through enums to generate collection translations. I created a method that fetches all translations from an enum attribute at class level. I think it is consistent with the existing instance level i18n method. Hope you like it.

Thank you.