I upgrade my rails project and tend to run on the latest stable version. Doing those upgrades tends to wipe out my configs so I will usally do them manually. In this case I missed a really cool feature - the health check endpoint at \up.
Setting this up is fairly easy! Add these lines to the top of your routes file:
Now if you visit your running app's \up path you should be presented with a green screen for a running app, and a red one for a failed.
If you host on fly.io you can take advantage of this new endpoint by modifying your fly.toml to include the health checks as shown here: