텍스트 인 UserMailer 템플릿이 있습니다. 텍스트보기 내에서 다음과 같습니다 :<% end %> 내에서 <% end %>에 UserMailer 오류가 발생하는 이유는 무엇입니까?
<% if [email protected]? %>
<% @thing.each do |id, count| %>
<%= #{count}%> <%= #{id} %>
<% end %>
<% end %>
괜찮아 보이지만 오류가 있습니까?
ActionView::Template::Error: /app/views/user_mailer/user_daily_activity.text.erb:12: unterminated string meets end of file
/app/views/user_mailer/myfile.text.erb:12: syntax error, unexpected $end, expecting ')'
왜 레일스가 이것에 오류가 있습니까? 감사합니다