Subject: erb:how to make less % ?
From: Haoqi Haoqi <axgle 126.com>
Date: Sun, 25 Oct 2009 14:54:07 +0900
demo.html.erb
<% 3.times do%>
<%=rand%>
<%end%>
it has 6 '%'!
how to make less '%' like this?
<%
3.times do
puts rand
end
%>
--
Posted via http://www.ruby-forum.com/.