Webrick: Getting stack trace in production

Full error reports are disabled and caching is turned on

config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true

above are my settings in production.rb

and I tried using illegal ruby code in controller (called a non-existing
method)

I get following page


NameError in Next actionsController#index

undefined local variable or method `dashboards’ for
#NextActionsController:0x4839d94

this, of cource, shouldn’t happen in production mode right? it should
display the 500.html page, correct?