Rails Daily: Query Logging Enhancement and Documentation Fixes

Rails merged a new feature allowing SQL queries to be passed to query log tags for better production debugging, along with minor documentation corrections.

Duration: PT1M21S

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-02-03T11:01:36Z
  • Audio duration: PT1M21S

Transcript excerpt

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

Good morning, this is Rails Daily for February 3rd, 2026.

Two pull requests were merged yesterday in the Rails repository, both focused on ActiveRecord improvements.

Fatkodima merged "Pass sql query to query log tags," introducing a significant enhancement to Rails' query logging system. This change allows developers to pass SQL query strings to query log tags, making it easier to debug issues like why certain queries aren't hitting database replicas in production. The…

Coderhs merged a documentation fix correcting a typo in the ActiveRecord changelog. The change was marked as CI-skip, indicating it was a minor documentation update.

Additionally, Ryuta Kamizono committed another typo correction, fixing "ineficiently" to "inefficiently" in the changelog.

What's next: The query logging enhancement should help Rails applications better debug database routing issues in production environments. Teams using database replicas may find this particularly useful for troubleshooting query distribution problems.

Nearby episodes from Rails Daily

  1. Documentation Fix and Dalli Upgrade
  2. Dalli Gem Version Pin
  3. ActiveRecord Composite Key Fix and Documentation Update
  4. Environment Variable Revision and Ruby 4.0.1 Update
  5. Error Handling and Database Improvements
  6. ActiveRecord Insert Enhancement and ActionText API Updates
  7. Feature Additions and Bug Fixes
  8. Developer Experience Improvements