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 following is a bug report. When calling .human_attribute_name(...) on an STI child class in Rails, gettext_i18n_rails looks up the wrong constant. Here's an example:
Hi!
The following is a bug report. When calling
.human_attribute_name(...)
on an STI child class in Rails,gettext_i18n_rails
looks up the wrong constant. Here's an example:Assuming that
Parent
has a field:foo
which it shares withChild
via STI. Translations are (app.po
):Expected:
However,
gettext_i18n_rails
returns:Best,
Kalsan
The text was updated successfully, but these errors were encountered: