I’m new to Ruby/Rails and working on my team’s web app. I am wondering if there is a way to configure the app so that any 5xx http status error will give the client the same generic error message (in an effort to maintain security).
Ideally the configuration will overwrite any new 5xx errors too that may be given messages by future engineers who arent aware of the security protocol.