# Restfull links with delete method

**URL:** <https://www.ruby-forum.com/t/restfull-links-with-delete-method/192886>\
**Category:** Rails\
**Created:** [August 7, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/restfull-links-with-delete-method/192886 "2010-08-07T17:29:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Pesout](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/839c29/32.png) [@Martin\_Pesout](https://www.ruby-forum.com/u/Martin_Pesout)\
**Post date:** [August 7, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/restfull-links-with-delete-method/192886/1 "2010-08-07T17:29:13Z")

</div>

Hi,

I have Ruby on Rails application with restfull links. I’m trying to  
write code with link\_to helper, delete method and confirmation like  
this:

link\_to image\_tag(’/images/cross.png’),  
cancel\_friend\_path(table\_row.id), :title =\>  
t(:button\_cancel\_friendship), :confirm =\>  
t(‘friends.cancel\_friendship\_confirmation’), :method =\> :delete

Everything is ok in this browsers: chrome, firefox, opera. But in  
Internet Explorer 7 link doesn’t works - I think, that IE doesn’t  
support delete method. I have solved this problem, when I used  
button\_to helper instead of link\_to. Is there any way, to do this with  
link\_to helper?

Thanks
