FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Migrating a Rails App from Heroku to Railway
How-ToTools

Migrating a Rails App from Heroku to Railway

via Dev.toJuan Vasquez4h ago

Last weekend I migrated my Doctors App from Heroku to Railway. It's a multi-tenant Rails app where each hospital gets its own subdomain — one.doctors.com , two.doctors.com , and so on. Five hospitals, around 25,000 appointments, 9,700+ patients. Not huge, but not trivial either. Here's how it went, including the part where I accidentally broke the database. The setup I already had a Railway project running with a test domain ( *.juanvasquez.dev ) from earlier experiments. The web service was deployed from GitHub and the Postgres 17 instance was co-located in us-east4 . Cloudflare R2 handles file storage — that stays the same regardless of where the app runs. The plan was simple: put Heroku in maintenance mode, dump the database, restore it to Railway, flip the DNS, and go home. The database restore First, I captured a fresh Heroku backup and downloaded it: heroku pg:backups:capture --app doctors heroku pg:backups:download --app doctors --output /tmp/heroku_backup.dump Then I wiped the

Continue reading on Dev.to

Opens in a new tab

Read Full Article
6 views

Related Articles

How-To

What I learned about X-HEEP by Benchmarking

Medium Programming • 3h ago

No more Chinese Polestar 3s as production shifts entirely to the US
How-To

No more Chinese Polestar 3s as production shifts entirely to the US

Ars Technica • 4h ago

How-To

The most important 40 mcq with its answers How to use Android visual studio to make a mobile app

Medium Programming • 4h ago

What is Agent Script? How to Build Agents with It in Agentforce
How-To

What is Agent Script? How to Build Agents with It in Agentforce

Medium Programming • 4h ago

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.
How-To

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.

Medium Programming • 5h ago

Discover More Articles