我刚刚安装了rails并生成了我的新rails应用程序文件和页面并启动了我的服务器。但当我启动我的服务器并在浏览器中运行localhost:3000时,我收到错误
TypeError: Object doesn't support this property or method`
它表示显示C:/Users/walnut/Desktop/projects/walden/walden/app/views/layouts/application.html.erb where line #6 raised:
application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Walden</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
如何解决这个问题?