<td><%= link_to 'Edit', :confirm => 'Are you sure?', :action => 'edit', 
:id => product %></td>

Why doesn't this work the way it should, which is (from my 
understanding)
1. link something to edit
2. before going to the edit page, asking 'are you sure?'

Help.


-- 
Posted via http://www.ruby-forum.com/.