Rails 4 Active Record Enums are great, but what is the right pattern for translating with i18n?
You can simply add a helper:
def my_something_list
modes = 'activerecord.attributes.mymodel.my_somethings'
I18n.t(modes).map {|k, v| [v, k]}
end
and set it up as usually:
en:
activerecord:
attributes:
mymodel:
my_somethings:
my_enum_value: "My enum Value!"
then use it with your select: my_something_list