Desired Output:
<ul>
<li class="odd">stuff</li>
<li class="even">stuff</li>
<li class="odd">stuff</li>
<li class="even">stuff</li>
<li class="odd">stuff</li>
<li class="even">stuff</li>
<li class="odd">stuff</li>
<li class="even">stuff</li>
</ul>
CSS:
.odd {color:blue}
.even{color:red;}
In rails 3 is there a clean way to do this without counters etc?
thanks