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