ruby-on-rails - 页面在本地主机上运行良好,但在 Heroku 应用程序上运行良好
问题描述
我的应用程序在我的本地主机上完美运行。当我将应用程序启动到 heroku 时,我在某个页面上收到可怕的“我们很抱歉,但出了点问题......”消息。此页面在我的本地主机上运行良好。
这是我针对该请求的 heroku 日志。
2018-12-15T00:52:49.151152+00:00 heroku[router]: at=info method=GET path="/leagues/5" host=guarded-peak-32026.herokuapp.com request_id=11b8da33-7361-4549-bab2-1a78d5bdb087 fwd="73.196.32.111" dyno=web.1 connect=0ms service=28ms status=500 bytes=1827 protocol=https
我不确定错误是什么或如何修复它。任何意见,将不胜感激。
解决方案
推荐阅读
- python - 交叉引用街道和城市名称
- java - 是否有在运行 macOS 10.16 (Big Sur) 的 MacbookPro 中安装 Eclipse 的解决方法
- android - 如何确保 MainActivity 只创建一次
- python - NSWindow 拖动区域应该只在主线程上无效!这将在将来引发异常
- ruby-on-rails - Ruby-on-Rails。therubyracer 的问题(0.12.3)
- javascript - 侧边栏中的jQuery多个表单具有相同的提交
- java - 表情符号无法在 iOS 推送通知中正确呈现
- arrays - 使用 pytables 访问 hdf5 中的数组子集
- c++ - 退出后分离的线程是否泄漏内存C++
- visual-studio - MS Visual Studio 2019 安装问题