title: Rails ActionController::MethodNotAllowed causes WSOD in production
body: <p>I've got a RESTful resource (let's say <code>posts</code>) that excludes the <code>index</code> action. When I go to <code>/posts</code>, <code>ActionController::MethodNotAllowed</code> is raised because <code>GET</code> requests at that URL have been excluded. That much makes sense.</p>
  
  <p>The problem is that in the production environment, that URL just generates a white screen in the browser. I can see <code>ActionController::MethodNotAllowed</code> being raised in the production log. I would expect that this would also cause a <code>404</code> or <code>500</code> error so that the error pages in the <code>public</code> directory would serve a pretty error page to the client.</p>
  
  <p>Does this cause a different HTTP status code? How can I handle this?</p>