Skip to content

Removes deprecation warning for Rails 6.1#23

Open
KevinGreene wants to merge 1 commit intoahorner:mainfrom
KevinGreene:patch-1
Open

Removes deprecation warning for Rails 6.1#23
KevinGreene wants to merge 1 commit intoahorner:mainfrom
KevinGreene:patch-1

Conversation

@KevinGreene
Copy link
Copy Markdown

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