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
.
精彩评论