This project is archived and is in readonly mode.

#5757 ✓invalid
inetufo

Rails 3 link_to :method=> :delete doesn't work correctly in Internet Explorer 8

Reported by inetufo | October 4th, 2010 @ 07:33 PM

<%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %>
when the confirm dialog shows, the request has already posted and the destroy action is called, so the ok or cancel button have no effect, the record is always deleted,and i found out the request method is "post" not "delete".

this works fine in firefox

<%= csrf_meta_tag %> already in my layout file

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages