我是 Ruby on Rails 的新手。每当出现问题时,我都会收到以下错误信息:
Template is missing
Missing template errors/error_404 with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}.
Searched in: * "C:/Users/Avi/Documents/Aptana Studio 3 Workspace/social/app/views" * "C:/RubyonRails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/app/views"
但问题出在语法错误或者程序错误。
我能否获得一个错误日志,像在cakephp中那样?
$ tail -f log/development.log
。这将实时输出你的开发日志。 - Thomas Klemm