[openstreetmap/openstreetmap-website] Switch to rails 8.0 defaults (PR #5937)

Tom Hughes notifications at github.com
Wed Apr 16 17:27:10 UTC 2025


There doesn't seem to be anything in the new defaults that is likely to cause us a problem.

* `to_time_preserves_timezone` should have no effect as we always work with UTC times, and the production servers run in UTC time
* `strict_freshness` at worse could mean sending fewer 304 responses but in practice I don't think we have anything much served by rails where conditional gets do anything
* hopefully we don't have any regexps that are slow enough to be an issue
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5937

-- Commit Summary --

  * Switch to rails 8.0 defaults

-- File Changes --

    M config/application.rb (2)
    D config/initializers/new_framework_defaults_8_0.rb (30)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5937.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5937.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5937
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5937 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250416/d1e33cc7/attachment.htm>


More information about the rails-dev mailing list