用户友好的错误页面未在生产环境中显示

最近我的用户友好错误页面停止显示我的生产环境。我正在使用rails 3.0.3。 我的
config/environments/production.rb
中有以下内容:
config.action_controller.consider_all_requests_local = false
当我使用生产环境在本地启动Web服务器时,用户友好的错误页面会正确显示。 还有其他人经历过这个吗?     
已邀请:
感谢Scott在EngineYard,我找到了解决方案 我把它放在config / environments / production.rb的开头
class ActionDispatch::Request
 def local?
   false
 end
end
    

要回复问题请先登录注册