I may not be understanding you, but this is how I've seen it done in the past.

```ruby
  <% for post in @posts %>
 ...
      <td><%= link_to "Destroy", post, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
```