link_to dynamic id problem


This works:
<%= link_to "show", {:action => "show", :id => 1 }, {:title => } %>

This does not:
<%= link_to "show", {:action => "show", :id => }, {:title => } %>

This is all wrapped in a list of names and I'd like to enable the user
to click on the name and go to the "show" page of the model.

Any ideas on how to make the id dynamic?