I’m working on a really old legacy Rails app and there is one thing someone else implemented several years ago i am not able to deal with. Basically, for any 500-like exceptions raised in the code, my app is rendering 500.html file instead of showing me the actual exception. It basically behaves like i had consider_all_requests_local config set to false in dev env but i don’t. It’s set to true. Also, i don’t have any exceptions_app app configured, i don’t use any rescue_from statements that could impact it - i can’t see any single place in my codebase that could impact how 500 error pages are displayed.
Do you have any idea where should i look or how can i debug rails behavior regarding that?
There is some Rails/Rack middleware that deals with exception handling. Try adding debug statements to your local ShowExceptions and DebugExceptions classes in actionpack.