title: Loop in Ruby on Rails html.erb file
body: <p>everybody
  I'm brand new with Ruby on Rails and I need to understand something. I have an instance variable (@users) and I need to loop over it inside an html.erb file a limitated number of times.
  I already used this:</p>
  
  <pre><code>&lt;% @users.each do |users| %&gt;
     &lt;%= do something %&gt;
  &lt;%end %&gt;
  </code></pre>
  
  <p>But I need to limitate it to, let's say, 10 times. What can I do?</p>