Rails 8 Multiple Databases on Heroku
Rails 8 introduced support for multiple databases, and by default, it wants to create separate database instances for your primary data, cache, queue, and ActionCable connections. If you’re deploying to Heroku and you just follow the defaults, you’ll end up with four separate Postgres databases, which means four separate billable databases instances. I’m using a … Read more