title: difference between "each .. do" or "for .. in" loops in rails
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/155462/what-is-for-in-ruby">What is &ldquo;for&rdquo; in Ruby</a>  </p>
  </blockquote>
  
  
  
  <p>Hey. My question is if these loops are the same when I iterate through an Array. Thx for your time!</p>
  
  <pre><code>&lt;% for track in @tracks %&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;% @tracks.each do |track| %&gt;
  </code></pre>