I’ve got code from pre RoR 2.0 that is simply a link that a user clicks
on to go to a search form and it works great.
<%= link_to_unless_current “Search by Name”, :action => “search_by_name”
But in the 2.0 world, this now goes to the show method and it fails
since it’s looking for an id.
Is there a route or something that I need to add or modify? For this
model, I just have the standard route - map.resources :customers