I have started some rails tutorials and noticed that some of the view code blocks are like
<h1><%= @subject.name -%></h1>
and other code blocks are like
<h1><%= @subject.name %></h1>
What is the difference between -%> and %>
If you know of some good syntax references you can point me to, that would also be helpful.