Rails Daily: PostgreSQL Schema Fixes and Test Cleanup
Four pull requests were merged addressing PostgreSQL schema dumping issues and test database cleanup. The changes fix schema qualification problems for index opclasses and enum types while improving test isolation.
Duration: PT1M46S
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-05-26T10:01:19Z
- Audio duration: PT1M46S
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 May 26th, 2026.
Four pull requests were merged yesterday, primarily addressing PostgreSQL schema handling and test infrastructure improvements.
Yahonda merged a significant test cleanup fix that makes `use_postgresql` and `use_mysql2` test helpers automatically drop per-process databases when given a block. This addresses a longstanding issue where parallel test databases were left behind because `rails db:drop` only drops databases listed in…
Nicolas Vaillant fixed a PostgreSQL schema dumping bug where index opclasses were silently dropped from `schema.rb` when using persistent schemas alongside `dump_schemas`. The issue occurred when extensions like `pg_trgm` were installed in separate schemas, causing schema-qualified opclass names to be filtered out…
Fatkodima merged a rework addressing PostgreSQL enum types, ensuring they're dumped with fully qualified names. This resolves schema qualification issues similar to the index opclass problem.
Yahonda also cleaned up a process leak in `FullStackConsoleTest` where `rails console` subprocesses spawned via `Process.spawn` were never properly terminated, leaving dozens of hanging processes after test…
Nearby episodes from Rails Daily
- Database Connection Pool Deadlock Fix
- Connection Pool Stability Fixes
- Security Fixes and Performance Improvements
- Bug Fixes and Documentation Updates
- Composite Keys and Documentation Updates
- Action Mailbox Security and PostgreSQL Fixes
- Weekly Recap - Error Handling & Developer Experience
- Error Messages and Developer Experience