我的代码如下
<%= div_for(comment) do %>
<div class="comments_wrapper clearfix">
<div class="pull-left">
<p class="lead"><%= comment.body %></p>
<p><small>Submitted <strong><%= time_ago_in_words(comment.created_at) %> ago</strong> by <%= comment.user.name %></small></p>
</div>
Run Code Online (Sandbox Code Playgroud)
我使用的是 Rails v5.0、Ruby 2.3.1 版本。当我使用“rails s”命令运行应用程序时。
它抛出以下错误。
错误:RecordTagHelper。
可能是什么原因?