$ the-wire · showcase
Rails skips leaky Ractor tests, speeds up TimeWithZone formatting
By RepoJournal · Filed · About Rails · Composed from the cited sources · methodology
A quiet day in rails/rails: two in-flight performance and test-suite fixes, a docs cleanup, and routine housekeeping in the devcontainer and website repos.
Skip leaky ractor tests rails/rails
The leaky Ractor tests are skipped because they call `require` inside a Ractor, which breaks every gem that aliases `Kernel#require`, including Zeitwerk, Bootsnap, and Rubygems. If your suite loads any of those, this removes a source of unrelated failures.
Speed up TimeWithZone#xmlschema, #to_s and TimeZone.seconds_to_utc_offset rails/rails
`TimeWithZone#xmlschema` for non-UTC values now converts the UTC time with `getlocal(utc_offset)` and formats it with `Time#iso8601`, dropping the regexp substitution and `format` call; the aliases `iso8601` and `rfc3339` follow, and values built from a `DateTime` take the existing path.
Speed up TimeWithZone#xmlschema, #to_s and TimeZone.seconds_to_utc_offset rails/rails
The same optimization lands for `#to_s`, which now formats with `Time#to_s`, and for `TimeZone.seconds_to_utc_offset`, since `Time#iso8601` already emits the fixed `+HH:MM` offset and truncates offset seconds to minutes. Output is intended to be unchanged; only the work behind it shrinks.
Add Ruby versions: 4.0.7 [automated-ruby-update] (#137) rails/devcontainer
The devcontainer feature picks up Ruby 4.0.7 from rbenv/ruby-build across the version matrix, the feature manifest, the Ruby README, and the test scripts.