Hello all!
I would like to delete multiple records on a single call. Something
similar to the following line.
new Ajax.Request(''/myctrl/delete/1,2,3,4,5'',
{asynchronous:true,
evalScripts:true});
However, I don''t know how to pass multiple parameters to one action
(in a AJAX call). Is it possible? How could I do that?
In other words, I want the Delete action to take multiple parameters.
Something like that : controller/action/1,2,3,4,5.
Thank you for your help!
Martin
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---