Open key88sf opened 3 years ago
In a HAML partial, calling t(nil, scope: "my.scope", default: "No value")
t(nil, scope: "my.scope", default: "No value")
Should result in the value of "No value" being returned.
I18n::ArgumentError
Rails 6.1 I18n 1.8.7
Bonus points for providing an application or a small code example which reproduces the issue.
Thanks! :heart:
What I tried to do
In a HAML partial, calling
t(nil, scope: "my.scope", default: "No value")
What I expected to happen
Should result in the value of "No value" being returned.
What actually happened
I18n::ArgumentError
Versions of i18n, rails, and anything else you think is necessary
Rails 6.1 I18n 1.8.7
Bonus points for providing an application or a small code example which reproduces the issue.
Thanks! :heart: