Ruby on Rails: One Contributor, Six Edge-Case Fixes

A single contributor drove six correctness fixes across Active Record and Action Mailer this cycle, closing gaps between documented behavior and actual behavior in composite foreign keys, store accessors, mail templates, and SQLite constraints.

Duration: PT2M32S

Episode overview

This episode is a short developer briefing from Ruby on Rails.

It explains recent repository work in plain language.

  • Show: Ruby on Rails
  • Published: 2026-07-12T13:09:17Z
  • Audio duration: PT2M32S

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 12th, 2026, and this is your Ruby on Rails briefing.

The clear pattern today: contributor 55728 shipped five separate fixes, all in the same vein—Rails behaving differently than its own documentation promised, in ways easy to miss until you hit them in production.

Start with PR 58095: composite foreign key belongs-to associations weren't tracking change state correctly, which meant counter caches and touch callbacks silently failed to fire on the old or new parent record. If you're running composite primary keys, this was a real data-integrity gap. Related in spirit is PR…

Two more from the same contributor: PR 58090 fixes block-form `mail` ignoring the `template_path` option, so mailers using that pattern were resolving templates against the wrong view path. And PR 58092 fixes `relative_time_in_words` comparing raw, un-normalized input against `Time.now`, which could pick the wrong…

Rounding it out, PR 58091 fixes SQLite's `add_check_constraint` and `add_foreign_key` — the `if_not_exists` option was silently ignored on that adapter, so re-running a migration could throw where it shouldn't.

Second theme: schema loading internals. Xavier Noria's PR 58093…

Nearby episodes from Ruby on Rails

  1. One Contributor's Sweep of Silent Data Bugs
  2. Ractor Safety and Error Handling Take Center Stage
  3. Ractors Get Serious, Small Fixes Add Up
  4. Correctness Fixes Sweep the Edge Cases
  5. The Great Edge-Case Cleanup
  6. The "Honor What the Caller Said" Release
  7. Weekly Recap - The Ractor-Safety Push
  8. Ractor Readiness and the Great Deallocation Audit