Look up a Rails HTTP Status Code

404 - Not Found

Rails HTTP Status code :not_found

When to use status code 404

The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible.