Well first of all, when you’re iterating through a block, you don’t
need to have an end. In fact it should give you some kind of error.
Secondly, <% just evals a statement, <%= renders the output. So your
loop should be: