Return a specific http status code in Rails January 30, 2023 by Tarik You can use head head 503 # or head :service_unavailable