You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The translate_enum ViewHelper method is not working anymore.
This is due to the I18n.translate call in human_enum_name of SimpleEnum::Translation is calling I18n.translate incompatibly.
I have not checked since which Rails version this is the case, as this gem seems prettz abandoned anyways.
Documenting this anyways, also for others having this issue or potential users considering using this gem.
The text was updated successfully, but these errors were encountered:
Hey @olegsfinest thanks a lot for the report, I'll happily accept a PR to fix this. You are correct, this is pretty abandoned currently as my day job no longer involves Rails nor coding, probably should update the README, thanks for understanding. In addition, Rails since v5 added enum attributes, inspired by this gem. ;-)
The
translate_enum
ViewHelper method is not working anymore.This is due to the
I18n.translate
call inhuman_enum_name
of SimpleEnum::Translation is callingI18n.translate
incompatibly.I have not checked since which Rails version this is the case, as this gem seems prettz abandoned anyways.
Documenting this anyways, also for others having this issue or potential users considering using this gem.
The text was updated successfully, but these errors were encountered: