{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/capstone-project/issues/241","repository_url":"https://api.github.com/repos/ga-wdi-boston/capstone-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/capstone-project/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/capstone-project/issues/241/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/capstone-project/issues/241/events","html_url":"https://github.com/ga-wdi-boston/capstone-project/issues/241","id":169377445,"number":241,"title":"PATCH request doesn't go through","user":{"login":"esthercordova","id":13932794,"avatar_url":"https://avatars.githubusercontent.com/u/13932794?v=3","gravatar_id":"","url":"https://api.github.com/users/esthercordova","html_url":"https://github.com/esthercordova","followers_url":"https://api.github.com/users/esthercordova/followers","following_url":"https://api.github.com/users/esthercordova/following{/other_user}","gists_url":"https://api.github.com/users/esthercordova/gists{/gist_id}","starred_url":"https://api.github.com/users/esthercordova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esthercordova/subscriptions","organizations_url":"https://api.github.com/users/esthercordova/orgs","repos_url":"https://api.github.com/users/esthercordova/repos","events_url":"https://api.github.com/users/esthercordova/events{/privacy}","received_events_url":"https://api.github.com/users/esthercordova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-04T13:43:14Z","updated_at":"2016-08-04T14:06:09Z","closed_at":null,"body":"![image](https://cloud.githubusercontent.com/assets/13932794/17403815/5410940c-5a27-11e6-805d-89ede119df2e.png)\r\n\r\nI am trying to update a variable on my joint table with the following ajax request:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13932794/17403868/8ed1423a-5a27-11e6-847d-582933ff7ea7.png)\r\n\r\nI think I have all the necessary variables to make a patch request but it doesnt  go through.\r\nThis is my function that invokes the ajax request:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13932794/17403901/bd1c367c-5a27-11e6-8707-39b424578742.png)\r\n\r\nI console.log everything and it seems to be correct. I also checked with the with rails db and I think I have everything I need. What am I missing?\r\n"},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/capstone-project/issues/comments/237563249","html_url":"https://github.com/ga-wdi-boston/capstone-project/issues/241#issuecomment-237563249","issue_url":"https://api.github.com/repos/ga-wdi-boston/capstone-project/issues/241","id":237563249,"user":{"login":"jrhorn424","id":388761,"avatar_url":"https://avatars.githubusercontent.com/u/388761?v=3","gravatar_id":"","url":"https://api.github.com/users/jrhorn424","html_url":"https://github.com/jrhorn424","followers_url":"https://api.github.com/users/jrhorn424/followers","following_url":"https://api.github.com/users/jrhorn424/following{/other_user}","gists_url":"https://api.github.com/users/jrhorn424/gists{/gist_id}","starred_url":"https://api.github.com/users/jrhorn424/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrhorn424/subscriptions","organizations_url":"https://api.github.com/users/jrhorn424/orgs","repos_url":"https://api.github.com/users/jrhorn424/repos","events_url":"https://api.github.com/users/jrhorn424/events{/privacy}","received_events_url":"https://api.github.com/users/jrhorn424/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T14:06:09Z","updated_at":"2016-08-04T14:06:09Z","body":"They appear to be exactly switched in the error output."}}
{"actor":{"display_login":"jrhorn424"}}