开发者

Getting a blank screen during staging errors in Rails/Passenger

I usually get the typical red error message wh开发者_如何转开发en errors occur in my staging environment but lately the errors have been resulting in a blank screen. Is there a way to explicitly tell Rails to raise the typical error message in specific environments?


In your staging.rb environment file set config.action_controller.consider_all_requests_local to true.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜