开发者

Getting a blank screen during staging errors in Rails/Passenger

开发者 https://www.devze.com 2022-12-11 04:44 出处:网络
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 R

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

精彩评论

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

关注公众号