Forum: Ruby on Rails Stuck on RESTful / Ajax / IE issue

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Loren J. (Guest)
on 2007-03-21 22:04
I can't get a delete action to trigger (no response at all in Firebug
lite, or in the development.log) in my RESTful app with an AJAX delete
link. The following link works fine in Firefox and I have a report that
it worked for someone in IE7, though for me it hasn't worked in either
IE6 or 7.

Here is my route:
...
  map.resources :saved_listings
...

In my application I have this link:

<a href="#" onclick="new
Ajax.Request('http://dreamcatcher.fn-group.com/saved_listings/80588',
{asynchronous:true, evalScripts:true, method:'delete'}); return
false;">Unsave</a>

And here is my SavedListingsController:

http://pastie.caboo.se/48565


The strangest thing here is that there is absolutely NO feedback from IE
when I click on the link and my rails app development.log doesn't show
any request/error whatever. It's as if nothing happened at all.

Any help on this would be greatly appreciated. I've spent well over 2
hrs going in circles on this with no progress... hate stuff like this.

If someone has an idea of what the problem could be and wants to contact
me directly (I'll post whatever the resolution turns out to be back to
the group) you can reach me on AIM at NL7XF. I can give you an address
to the actual website too.

Also, I'm willing to pay for someone's time if you think you can help
find the problem...

Thanks,

Loren J.
FN Group, LLC
This topic is locked and can not be replied to.