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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
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.


Reply via email to