Back to articles
Deploying Rails 8's Solid Trio to Production with a Single Database
How-ToSystems

Deploying Rails 8's Solid Trio to Production with a Single Database

via Dev.toSebastian Jimenez

Deploying Rails 8's Solid Trio to Production with a Single Database Rails 8 ships with the Solid stack — Solid Cache, Solid Cable, and Solid Queue — replacing Redis for caching, WebSockets, and background jobs. Database-backed infrastructure with zero external dependencies. Development was smooth. Production wasn't. This post documents the issues we ran into deploying the Solid trio to a Hatchbox-hosted app with a single PostgreSQL database, the mistakes we made debugging them, and what ultimately fixed things. The Setup Rails 8 with Hotwire (Turbo + Stimulus) PostgreSQL 18 in production, 17 locally Hatchbox for deployment (single provisioned database) Solid Queue , Solid Cache , and Solid Cable The app is a booking system. Admins manage bookings, and Turbo broadcasts push real-time status updates when bookings are confirmed or cancelled. Problem 1: Missing Tables The first error appeared on the first request that touched caching: PG::UndefinedTable: ERROR: relation "solid_cache_entrie

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles