我最近将我的 rails 应用程序更新为 rails 5.2 和 Ruby 版本 2.3.3,令我惊讶的是,浏览器中的开发错误不再显示为错误,而是显示消息
We are sorry, something went wrong
If you are the application owner please check logs
尽管,
config.consider_all_requests_local = true
存在于我的 development.rb 文件中。
跑步RAILS_ENV=development rails s
也无济于事
我所做的所有更改都是仅遵循 Rails 指南。
存在没有结论的类似线程:这里 提前谢谢