Rails Daily: Stability Patches and a Duplicate Records Fix

Rails maintainers spent July 18th hardening release branches with dependency pins and regression tests, while a separate fix addresses duplicate record creation when combining create_with with nested attributes.

Duration: PT2M17S

Episode overview

This episode is a short developer briefing from Rails Daily.

It explains recent repository work in plain language.

  • Show: Rails Daily
  • Published: 2026-07-19T06:01:11Z
  • Audio duration: PT2M17S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. It's July 19th, and this is Rails Daily.

The clearest pattern in today's activity is defensive maintenance on stable branches — two separate pins, a flaky test fix, and a regression test all aimed at keeping older Rails versions building cleanly.

Start with the JSON gem. PRs 58153 and 58154, both from yahonda, pin json below version 2.20 on the 8-0 and 7-2 stable branches. The new json release deprecates comments in JSON documents, which was breaking strict-warnings CI. On main, this was already handled by passing an allow-comments flag, but that fix…

Related: PR 58157, also from yahonda, fixes a deterministic test failure on 8-0-stable where a connection adapter test expected a "verified?" method that wasn't there yet. And PR 58146 adds a regression test confirming that default headers set in an initializer actually get applied — closing a gap where a real 8.x…

Separately, PR 58156 from jeromedalbert fixes a data-integrity bug: combining create_with with nested attributes on an association was creating duplicate records, because the same nested attributes got initialized twice — once during general record setup, once again through scoping. If you use create_with…

Smaller…

Nearby episodes from Rails Daily

  1. The Great Dead Code Purge
  2. Undoing Yesterday's Defaults, Loosening Tight Coupling
  3. Weekly Recap - Adapter Edge Cases and Ractor Safety
  4. Cleanup and Correctness Fixes
  5. Hardening Edge Cases
  6. Precision and Correctness Fixes Across the Stack
  7. One Contributor, Many Small Fixes
  8. Quiet Data Integrity Fixes