<%= link_to restaurant.name, :action => 'show', :id => restaurant %><br></p>
Jeff softiesonrails.com
<%= link_to restaurant.name, :action => 'show', :id => restaurant %><br></p>
Jeff softiesonrails.com
<% = link_to h(restaurant.name), :action => 'show', :id => restaurant %>
If you output a db value, be sure to wrap it in h() to prevent XSS and other nastiness.