我一直在类似于下面的日志中看到错误。间歇性Ruby on Rails日志(ActionView :: MissingTemplate)
任何人都可以提出为什么我可能间歇性地得到这样的错误?这是一个缓存问题吗?
每当我尝试加载about-us页面时,它都会完美加载,但每隔几天在我的日志中就会出现这样的错误,但它并不局限于单个页面。有时它是首页,有时是其他页面。
Started GET "/about-us" for xxx.xxx.xxx.xxx at 2014-08-16 07:54:06 +0100
Processing by PagesController#about as */*;q=0.6
Geokit is using the domain: mydomain.com
[1m[35mPage Load (0.2ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`name` = 'About Us' LIMIT 1
Completed 500 Internal Server Error in 2ms
ActionView::MissingTemplate (Missing template pages/about, application/about with {:handlers=>[:erb, :builder, :arb], :formats=>["*/*;q=0.6"], :locale=>[:en, :en]}. Searched in:
* "/var/www/myapp/releases/201408150651/app/views"
* "/var/lib/ruby-rvm/gems/ruby-1.9.2-p320/gems/activeadmin-0.3.2/app/views"
* "/var/lib/ruby-rvm/gems/ruby-1.9.2-p320/gems/kaminari-0.12.4/app/views"
* "/var/lib/ruby-rvm/gems/ruby-1.9.2-p320/gems/devise-1.4.7/app/views"
):
这个问题是相似的:Random rails ActionView::MissingTemplate errors所以这是发生在其他人,但没有确定的答案有两种。