Blog
Thoughts, tutorials, and insights on web development
—
Rails
Retiring Rack::BodyProxy: Post-Response Hooks with rack.response_finished
2025-09-0110
Why Rack::BodyProxy is fading out, how rack.response_finished delivers accurate post-response hooks with fewer allocations, and a step-by-step migration path for your middleware.
Rack
Rails
Middleware
Performance
Spec
Database Schema Evolution: Safe DB Evolution Principles in Rails
2025-09-0117
Forward-only migrations, expand–contract pattern, online DDL, dual-write models, monitoring, and disaster recovery — a practical guide to evolving Rails database schemas without downtime.
Rails
PostgreSQL
Migrations
Zero Downtime
DevOps