Upgrade to Ruby 4.0.6, Rails 8.1.3.1, and latest gems - #441
Merged
Conversation
- Ruby 4.0.2 -> 4.0.6 in .ruby-version, Dockerfile and CircleCI image - Rails 8.0.4 -> 8.1.3.1 and config.load_defaults 8.1. None of the 8.1 defaults affect this app: no redirects, no forms, no order-dependent finders, and the JSON endpoints are consumed by devices, not embedded in HTML. - Puma 7.2 -> 8.0.2. Puma 8 binds tcp://[::] by default when an IPv6 interface exists; verified locally that this serves IPv4 and IPv6. - All other gems to latest (honeybadger, standard, rubocop, factory_bot, faraday, webmock, ...). Bundler 4.0.8 -> 4.0.20. - sass 1.85 -> 1.103 (in range; package.json unchanged). Skipped `rails app:update`: it only offers template resets that would drop this app's config (force_ssl, Action Cable origins, config.x, inflections). Claude-Session: https://claude.ai/code/session_01XpsxmpLCNWZYR8kE6vhM3x
This was referenced Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.ruby-version,Dockerfile(ARG RUBY_VERSION) and.circleci/config.yml. Both theruby:4.0.6-alpineandcimg/ruby:4.0.6-nodeimages exist.config.load_defaults 8.1. I checked each 8.1 default against the app: noredirect_to, no forms or hidden fields, no order-dependent finders without a primary key, and the JSON endpoints are consumed by devices rather than embedded in HTML, so the JSON escaping changes are harmless.0.0.0.0to::when a non-loopback IPv6 interface exists. Puma doesn't setIPV6_V6ONLY, so this is dual-stack on Linux. Verified locally in production mode:/upanswers on both127.0.0.1and[::1]. Worth a glance at the Fly health check right after deploy.npm update(in range,package.jsonunchanged).npm run build:cssstill works.Nothing was held back on purpose.
rails app:updatewas run in a scratch copy and reviewed; it only proposes template resets that would remove this app's config (force_ssl, Action Cable origins,config.x, theAPIinflection), so none of it was applied.Test plan
bundle exec rspecon Ruby 4.0.6 (53 examples, 0 failures, no deprecation output)bundle exec rake standardRails 8.1.3.1 Ruby 4.0.6https://claude.ai/code/session_01XpsxmpLCNWZYR8kE6vhM3x