<% if level != max_level && level > 1 %>
  <td colspan="<%=max_level-level%>" class="grouptd last"></td>
<% end %>

Ruby Double conditional and cont...

by Danny Peck, April 16, 2009 19:23, 5 refactorings, tagged with rails, ruby, content_tag, conditional

Curious of the right way to...

8f5553306c2cf7f4b14153f6117f8e9b Talk