Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18n.t with default not working as expected after custom backend chaining change #1534

Closed
nijikon opened this issue Feb 12, 2019 · 1 comment

Comments

@nijikon
Copy link

nijikon commented Feb 12, 2019

After this change was introduced #1389, the behavior changed for default: '' in I18n.t.

Expected behavior

(byebug) I18n.t("test", default: '')
{:title=>"title", :description=>"description"}

Current behavior

(byebug) I18n.t("test", default: '')
""
@vbrazo
Copy link
Member

vbrazo commented Feb 12, 2019

@stympy I think we might need to rollback this PR #1389 temporarily because this is the second issue about this PR. The first one is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants