Random rails ActionView::MissingTemplate errors

天涯浪子 提交于 2019-12-13 00:57:22

问题


I've been using New Relic to track performance and have been getting a lot of errors similar to:

ActionView::MissingTemplate: Missing template layouts/templates/home with {:locale=>[:en], :formats=>[:jpeg, "image/pjpeg", :png, :gif], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/app/app/views" * "/app/vendor/bundle/ruby/2.0.0/gems/gmaps4rails-1.5.6/app/views" * "/app/vendor/bundle/ruby/2.0.0/gems/devise-3.1.0/app/views" * "/app/vendor/bundle/ruby/2.0.0/gems/ckeditor-4.0.6/app/views" * "/app" * "/"

The thing is, that template at that location exists and is generally accessible. My guess is that this is perhaps due to a redirect, as I see this mostly for the home page, 404, and 500 pages.

I'm not really sure where to go with this and would appreciate any advice.

来源:https://stackoverflow.com/questions/21411960/random-rails-actionviewmissingtemplate-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!