Given a block of rails 2.3.x ERb code:
<% form_for account, :url => { :action => :invite } do |f| %>
# blah
<% end %>
using the Rails upgrade plugin, it tells me that I need to replace <%
with <%=
should I also do this for the end
line? Such as:
<%= form_for account, :url => { :action => :invite } do |f| %>
# blah
<%= end %>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…