2
我有这样的代码在我的Rails应用程序:为什么我会得到“unexpected_key_end”?
<p id="notice"><%= notice %></p>
<p>
<b>Title:</b>
<%= @debate.title %>
</p>
<p>
Supporting Points:
</p>
<% @debate.supports.each.do |support| %>
<p>
<%= support.body %>
</p>
<% end %>
<p>
Contesting Points:
</p>
<% @debate.contests.each.do |contest| %>
<p>
<%= contest.body %>
</p>
<% end %>
我得到一个错误“语法错误,意想不到的keyword_end,期待$结束”的最后一行。
怎么回事?