{"action":"created","issue":{"url":"https://api.github.com/repos/merch2/app/issues/9","labels_url":"https://api.github.com/repos/merch2/app/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/merch2/app/issues/9/comments","events_url":"https://api.github.com/repos/merch2/app/issues/9/events","html_url":"https://github.com/merch2/app/pull/9","id":65831317,"number":9,"title":"lesson 9.1","user":{"login":"merch2","id":11390019,"avatar_url":"https://avatars.githubusercontent.com/u/11390019?v=3","gravatar_id":"","url":"https://api.github.com/users/merch2","html_url":"https://github.com/merch2","followers_url":"https://api.github.com/users/merch2/followers","following_url":"https://api.github.com/users/merch2/following{/other_user}","gists_url":"https://api.github.com/users/merch2/gists{/gist_id}","starred_url":"https://api.github.com/users/merch2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merch2/subscriptions","organizations_url":"https://api.github.com/users/merch2/orgs","repos_url":"https://api.github.com/users/merch2/repos","events_url":"https://api.github.com/users/merch2/events{/privacy}","received_events_url":"https://api.github.com/users/merch2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-02T04:06:03Z","updated_at":"2015-04-02T07:00:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/merch2/app/pulls/9","html_url":"https://github.com/merch2/app/pull/9","diff_url":"https://github.com/merch2/app/pull/9.diff","patch_url":"https://github.com/merch2/app/pull/9.patch"},"body":"Сделал создание ответа через json. тут проблем нет\r\n\r\nСделал редактирование ответа через json. тут проблема в coffee script. как скрыть форму редактирования и как перезагрузить этот один ответ.\r\n\r\nСделал голосование, пока не через json. Посмотрите, если решение правильное впринципе, то буду пробовать переделать на json.\r\n\r\nСпасибо"},"comment":{"url":"https://api.github.com/repos/merch2/app/issues/comments/88780037","html_url":"https://github.com/merch2/app/pull/9#issuecomment-88780037","issue_url":"https://api.github.com/repos/merch2/app/issues/9","id":88780037,"user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T07:00:22Z","updated_at":"2015-04-02T07:00:22Z","body":"По поводу голосования.\r\n\r\nДолжно быть голосование \"за\" и \"против\" и два отдельных метода в контроллере `vote_up`, `vote_down`.\r\n \r\nДля отмены голоса также нужен отдельный метод (например, `unvote`).\r\n\r\nВсе эти методы нужно вынести в concern для контроллеров и подключить его в вопросах и в ответах. Иначе совсем не DRY.\r\n\r\nПо заданию этот функционал должен работать через JSON, поэтому логично, если все эти методы будут просто возвращать обновленный объект вопроса/ответа в формате json,  который можно будет перерисовывать как при редактировании."}}