Rails use ruby in link_to -
instead of hard coding link description, use ruby code. this original: <li><%= link_to "open projects list", workorders_index2_path %></li> this didn't work me: <li><%= link_to "<%= current_tenant.name_workorder.capitalize.pluralize %>", workorders_index2_path %></li> thanks help! you don't need use quotes @ all: <li><%= link_to current_tenant.name_workorder.capitalize.pluralize, workorders_index2_path %></li>