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

Removes deprecation warning for Rails 6.1 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KevinGreene
Copy link

I'm currently working on removing all deprecation warnings from a Rails 6.1 codebase in preparation for upgrading to Rails 7. I eventually traced the line:

DEPRECATION WARNING: action_view.raise_on_missing_translations is deprecated and will be removed in Rails 7.0. Set i18n.raise_on_missing_translations instead. Note that this new setting also affects how missing translations are handled in controllers.

to this file. This changes it so folks using Rails 6.1 will no longer see the deprecation warning.

I'm currently working on removing all deprecation warnings from a Rails 6.1 codebase in preparation for upgrading to Rails 7. I eventually traced the line:

```
DEPRECATION WARNING: action_view.raise_on_missing_translations is deprecated and will be removed in Rails 7.0. Set i18n.raise_on_missing_translations instead. Note that this new setting also affects how missing translations are handled in controllers.
```

to this file. This changes it so folks using Rails 6.1 will no longer see the deprecation warning.
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.

1 participant