Ruby on Rails: Logging Flexibility and Error Handling Fixes
Rails activity centered on logging reliability and cheaper, more correct error handling. Two proposals improve request-log customization and fix a broadcast logger crash, while a merged validation fix and an exception performance patch tighten correctness and cost.
Duration: PT2M17S
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-09-28T13:20:42Z
- 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 September 28th, 2026, and this is your Ruby on Rails briefing.
Lead: Logging reliability is the main thread, with parallel fixes for validation matching and exception performance rounding out a quiet but practical day.
First, request logging. PR 58889 would move the Started GET request line out of a direct logger call in the rack logger middleware and into a subscriber. Today that line can't be turned off or reshaped without patching the middleware, which is why tools like Lograge have to override it. Putting it behind an event…
Second, error handling. Commit c9e85db merged PR 58876 to fix error matching for validations using the except-on option. Previously, added-query returned false even when the error was present, and error details leaked the callback option itself. If you branch on validation errors, that check is now trustworthy. And…
What's next: watch whether the subscriber-based request line is accepted, as it would simplify structured logging integrations, and verify the exception shortcut and validation fix against your error-reporting tests.
That's it for today, thanks for listening.
Nearby episodes from Ruby on Rails
- Weekly Recap - Database Correctness and View Modernization
- Cleaner Postgres Dumps and Safer Pool Config
- Docs Rewrite Wave and Postgres Schema Fix
- Postgres Schema Fixes and Encrypted Query Corrections
- Herb Becomes Default Template Engine
- Schema Load Reliability and Timing Fixes
- Logging Tag Fixes and Migration Compatibility Overhaul
- STI Speedup, Variant Flexibility and Schema Fix