If you use jQuery to post data, what is the accepted best practice for
passing parameters - by putting a query string in the url, or passing
them through the data argument of the function?
e.g.
  $.post(/tasks/3?completed=true;,{ _method: "PUT" },null,
"script")
OR
  $.post(/tasks/3;,{ _method: "PUT",completed: true },null,
"script")
cheers,
DAZ
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---