Code in <% %>
(without equal) is executed "with no substitution back into the output" means you want to execute code WITHOUT any output, like a loop and the best part is, it can be used with a non ruby code.
<% 3.times do %>
Hello world
<%end%>
This will give:
Hello world
Hello world
Hello world