-
Notifications
You must be signed in to change notification settings - Fork 9
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
Rails 8 upgrade #3546
base: main
Are you sure you want to change the base?
Rails 8 upgrade #3546
Conversation
d04a395
to
5a08498
Compare
@@ -11,24 +11,20 @@ | |||
# While tests run files are not watched, reloading is not necessary. | |||
config.enable_reloading = false | |||
|
|||
# Turn false under Spring and add config.action_view.cache_template_loading = true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's redundant as it's the opposite of config.enable_reloading defined above.
Please, see the comments in alphagov/frontend#4556 |
5a08498
to
fb30637
Compare
@@ -43,20 +41,17 @@ | |||
config.active_support.disallowed_deprecation_warnings = [] | |||
|
|||
# Raises error for missing translations. | |||
# config.i18n.raise_on_missing_translations = true | |||
config.i18n.raise_on_missing_translations = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency with other apps. This is for the development environment only.
config.action_controller.raise_on_missing_callback_actions = true | ||
|
||
# Apply autocorrection by RuboCop to files generated by `bin/rails generate`. | ||
# config.generators.apply_rubocop_autocorrect_after_generate! | ||
config.generators.apply_rubocop_autocorrect_after_generate! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency with other apps. This is for the development environment only.
fb30637
to
383e784
Compare
@@ -46,7 +46,6 @@ | |||
global_bar: global_bar, | |||
homepage: homepage_blue_navbar, | |||
logo_link: logo_link, | |||
product_name: product_name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is duplicated below, so I'm removing it. It caused a warning from Ruby.
Follow these steps if you are doing a Rails upgrade.
What
Update our apps to run Rails 8
Why
To keep our apps up to date and using the latest software to include bug fixes and security updates.
Trello ticket