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

Update Rails default config for 8.0 #1588

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mike3985
Copy link
Contributor

@mike3985 mike3985 commented Jan 7, 2025

This app is still currently using the Rails 7 default settings (even
though its Rails dependency has been upgraded to version 8).

The default setting for what ActionDispatch is calling "strict
freshness" is being changed in Rails 8.

Since Asset Manager cares about ETag and Last-Modified and since it's
happily worked with the Rails 7 default behaviour, I'm explicitly adding
the setting so that it continues to behave as it has been doing even
after we adopt the rest of Rails 8's default settings changes.
(Except for the action_dispatch.strict_freshness setting that was
overridden in the previous commit.)
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