Hi all,
I'm getting this occacional error from my rails app:
ActionController::MethodNotAllowed: Only get, put, and delete requests are allowed.
I think it's caused by a malformed HTTP request (in this case a DELETE request) caused by the client browser... Maybe?
The URL that triggers this action it's like:
https://domain.com/resource/id/resource/id/resource/id.js?item_id=xxx
Which is generated by a helper like:
link_to_remote('delete', :url => resource_path(:id => @resource, :item_id => xxx, :format => :js), :method => :delete)
In some remote cases this crashes, I suspect that this happens only in IE (even IE8)...
If it is the case, what would be a solution? it supossed this should work in all browsers...
What do you suggest, guys?
Thanks for your help.