Skip to content

Fix deprecation warning about i18n errors#1961

Merged
pablobm merged 1 commit intothoughtbot:masterfrom
pablobm:fix-i18n-errors-warning
Apr 16, 2021
Merged

Fix deprecation warning about i18n errors#1961
pablobm merged 1 commit intothoughtbot:masterfrom
pablobm:fix-i18n-errors-warning

Conversation

@pablobm
Copy link
Collaborator

@pablobm pablobm commented Apr 16, 2021

Similar to #1960, this deprecation was introduced in Rails 6.1. For example:

DEPRECATION WARNING: action_view.raise_on_missing_translations is
deprecated and will be removed in Rails 6.2. Set i18n.raise_on_missing_translations
instead. Note that this new setting also affects how missing translations
are handled in controllers. (called from load at ./bin/rspec:7)

For example:

DEPRECATION WARNING: action_view.raise_on_missing_translations is
deprecated and will be removed in Rails 6.2. Set i18n.raise_on_missing_translations
instead. Note that this new setting also affects how missing translations
are handled in controllers. (called from load at ./bin/rspec:7)
@pablobm pablobm merged commit 96ac109 into thoughtbot:master Apr 16, 2021
@pablobm pablobm deleted the fix-i18n-errors-warning branch June 24, 2021 10:38
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

Successfully merging this pull request may close these issues.

2 participants