For those curious, I solved this problem by abandoning the drop_receiving_element helper and writing my own Ajax.Updater (see Prototype documentation) code on the page. Ajax.Updater takes a "method" option which allows you to specify get, post, put, delete, etc.
On Nov 2, 8:16 pm, Evan <[EMAIL PROTECTED]> wrote: > Is it possible to specify which HTTP method to use in the > drop_receiving_element helper? I'm trying to follow REST best > practices in my app. On one page I have the user drop an icon into an > area which calls the "new" representation of a particular resource. > However, drop_receiving_element sends the request as POST which is not > allowed. How can I change the method so it makes a GET request? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

