Forum: Ruby on Rails rails 3.2 check_box_tag jquery submit as get

Posted by Chris Habgood (chabgood)
on 2012-10-06 23:34
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.