Felix Felix - 1 year ago 142
Ruby Question

Rails: hide errors errors in production environment

I run my rails application (Rails 4.2.x) with the passenger module for Apache.

Is there a way to not show error messages:

enter image description here


Answer Source

Make sure the following setting is set to false in your config/environment/production.rb file:

config.consider_all_requests_local = false
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download