How can we display a normal error without showing every time something went wrong we are working on it . As we all are developer so we dont want to everytime check the database logged for the errors . How can we show it on that page only.
I'm not sure I understand you completely, but the error page is in public/500.html and can be replaced with something else. If you want to always see the error, add config.action_controller.consider_all_requests_local = true to config/environments/production.rb if you're running under the production environment.