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/.