For the following code:
<%= link_to \"Some Page\", some_path %>
How do I apply a css class current using the
current
I'd do it this way :
<%= link_to "Some Page", some_path, :class => current_page? ? "current" : "" %>