title: Ruby .each but need to add in a unique class for each of them
body: <p>i have the following piece of code that loops through and shows the results however i want to be able to set a class for each of the <code>&lt;td&gt;</code> and unsure how to do this as i dont know ruby and doing the frontend on a ruby project.</p>
  
  <pre><code>&lt;% priority[1].each do|val|%&gt;
      &lt;td&gt;&lt;%=val[1] %&gt;&lt;/td&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>It just shows 4 of them so if i can set defined classes great but if not something like class1, class2, class3, class4 would be fine i guess.</p>
  
  <p>Many Thanks</p>