This jquery ajax call always submits as a get even though it is a put
request. Ideas why?
jQuery ->
$(".activity_status").click ->
#alert person_id
$.ajax ->
type: ''PUT''
url: "/answers/"
data: "person[id]="+person_id
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/vBN6A5Rh7V4J.
For more options, visit https://groups.google.com/groups/opt_out.