title: Rails: are static error pages (500.html, 404.html) rendered without any setup
body: <p>I am debugging a application and i see one setting as </p>
  
  <pre><code>config.consider_all_requests_local = false
  </code></pre>
  
  <p>in config/environments/staging.rb and a 500.html file in public directory.</p>
  
  <p>So if the status in header is 500, does rails display 500.html automatically? or do i need to make additional settings so that if exception occurs display 500.html</p>
  
  <p>i am using rails 3.1, any help on this will be appriciated</p>