Ruby on Rails: Batching the Schema Reader, Closing Scope Leaks
Rails continued a multi-PR effort to batch schema introspection queries for faster boot and cache dumping, while separately closing a data-safety gap where scoped updates could silently write outside their relation.
Duration: PT2M40S
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-08-17T13:12:33Z
- Audio duration: PT2M40S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day, and welcome to Ruby on Rails, your developer briefing for August 17th, 2026.
The clearest thread today is a coordinated push to make schema loading faster by batching queries that used to run one table at a time.
Ngan shipped PR 58494, giving the "columns" schema reader the ability to read many tables in a single query instead of one statement per table. That follow-up chain continues in PR 58498, which does the same for "table options" and finally makes SQLite actually batch a list form it had accepted but ignored. Both…
The second theme is correctness under scope. PR 58320, from pierry01, fixes a real bug: calling "update" or "update bang" on a relation, like "post.comments.update!", was resolving the record by its class-level "find," which ignores the relation's own conditions. That meant code that looked tenant-scoped, say "buyer…
A few smaller but useful fixes rounded out the day. PR 58464 stops "bin/rails test:system" from raising a load error when generated apps have no system test folder, closing a rough edge from earlier test-generation changes. PR 58305 restores a working standalone require for "rails slash railtie," fixing a regression…
Looking ahead: watch for…
Nearby episodes from Ruby on Rails
- Getting Rails Ready for Ractors
- Ractor-Ready and Batching Up
- Consistency Fixes and Ractor Readiness
- Association Integrity Fixes Take Center Stage
- Weekly Recap - Ractor Safety, Schema Dumping Speed, and Composite Key Fixes
- Batching the Schema Reader
- Concurrency Bugs Take Center Stage
- Ractor Safety and a New HTTP Method