Rails 7 Introduces Default Health Check Controller | Saeloun Blog
27-Feb-2023 988
Rails 7 now introduces a default health check endpoint for health checks.With the latest changes, We can use the default health check controller provided by Rails. This default health check controller is available at /up.We can now visit /up to check whether the app is running. If the application is healthy, it will return a 200 status code. Else, it will return a 503 status code.This helps us eliminate the need to create a custom health check endpoint and let Rails handle it.
Rails 7 Introduces Default Health Check Controller | Saeloun Blog #ruby #rubydeveloper #rubyonrails #Rails #Introduces #Default #Health #Check #Controller #Saeloun #blog https://rubyonrails.ba/link/rails-7-introduces-default-health-check-controller-saeloun-blog