Ruby on Rails Discussions
render :partial
rubyonrails-talk
Chris_Hall
(Chris Hall)
April 3, 2007, 12:34pm
1
just use the cycle() helper method
ex:
<li class="<%= cycle("even", "odd") -%>"> ... </li>