# Webrick: Getting stack trace in production

**URL:** <https://www.ruby-forum.com/t/webrick-getting-stack-trace-in-production/120212>\
**Category:** Rails\
**Created:** [November 14, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/webrick-getting-stack-trace-in-production/120212 "2007-11-14T20:15:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cujigar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/2acd7d/32.png) [@cujigar](https://www.ruby-forum.com/u/cujigar)\
**Post date:** [November 14, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/webrick-getting-stack-trace-in-production/120212/1 "2007-11-14T20:15:55Z")

</div>

# 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?
