{"action":"created","comment":{"url":"https://api.github.com/repos/shilin/qna/pulls/comments/27293839","id":27293839,"diff_hunk":"@@ -0,0 +1,19 @@\n+p= @question.title\n+\n+p.question\n+  => @question.body\n+  = link_to 'Delete', question_path(@question), method: :delete\n+\n+div.answers\n+  - @question.answers.each do |a|\n+    = div_for a\n+      => a.body\n+      = link_to 'Delete', question_answer_path(@question,a), method: :delete\n+\n+\n+- if current_user\n+  = form_for [@question,@question.answers.new] do |f|","path":"app/views/questions/show.html.slim","position":15,"original_position":15,"commit_id":"8bdaa6a8e8a2244fbd2de794d129f4a05edb3312","original_commit_id":"8bdaa6a8e8a2244fbd2de794d129f4a05edb3312","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"Пробел после запятой. И вторым параметром можно просто передать `Answer.new`, т.к. для формы связь с ответом не нужна","created_at":"2015-03-27T13:25:44Z","updated_at":"2015-03-27T13:25:44Z","html_url":"https://github.com/shilin/qna/pull/3#discussion_r27293839","pull_request_url":"https://api.github.com/repos/shilin/qna/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/shilin/qna/pulls/comments/27293839"},"html":{"href":"https://github.com/shilin/qna/pull/3#discussion_r27293839"},"pull_request":{"href":"https://api.github.com/repos/shilin/qna/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/shilin/qna/pulls/3","id":31943461,"html_url":"https://github.com/shilin/qna/pull/3","diff_url":"https://github.com/shilin/qna/pull/3.diff","patch_url":"https://github.com/shilin/qna/pull/3.patch","issue_url":"https://api.github.com/repos/shilin/qna/issues/3","number":3,"state":"open","locked":false,"title":"User creates question","user":{"login":"shilin","id":20982,"avatar_url":"https://avatars.githubusercontent.com/u/20982?v=3","gravatar_id":"","url":"https://api.github.com/users/shilin","html_url":"https://github.com/shilin","followers_url":"https://api.github.com/users/shilin/followers","following_url":"https://api.github.com/users/shilin/following{/other_user}","gists_url":"https://api.github.com/users/shilin/gists{/gist_id}","starred_url":"https://api.github.com/users/shilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shilin/subscriptions","organizations_url":"https://api.github.com/users/shilin/orgs","repos_url":"https://api.github.com/users/shilin/repos","events_url":"https://api.github.com/users/shilin/events{/privacy}","received_events_url":"https://api.github.com/users/shilin/received_events","type":"User","site_admin":false},"body":"Creating and deleting answer and question ","created_at":"2015-03-25T17:05:07Z","updated_at":"2015-03-27T13:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f41add1cf4e98eb0e88bdfb3d7c4435f60950ea","assignee":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/shilin/qna/pulls/3/commits","review_comments_url":"https://api.github.com/repos/shilin/qna/pulls/3/comments","review_comment_url":"https://api.github.com/repos/shilin/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shilin/qna/issues/3/comments","statuses_url":"https://api.github.com/repos/shilin/qna/statuses/8bdaa6a8e8a2244fbd2de794d129f4a05edb3312","head":{"label":"shilin:user_creates_question","ref":"user_creates_question","sha":"8bdaa6a8e8a2244fbd2de794d129f4a05edb3312","user":{"login":"shilin","id":20982,"avatar_url":"https://avatars.githubusercontent.com/u/20982?v=3","gravatar_id":"","url":"https://api.github.com/users/shilin","html_url":"https://github.com/shilin","followers_url":"https://api.github.com/users/shilin/followers","following_url":"https://api.github.com/users/shilin/following{/other_user}","gists_url":"https://api.github.com/users/shilin/gists{/gist_id}","starred_url":"https://api.github.com/users/shilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shilin/subscriptions","organizations_url":"https://api.github.com/users/shilin/orgs","repos_url":"https://api.github.com/users/shilin/repos","events_url":"https://api.github.com/users/shilin/events{/privacy}","received_events_url":"https://api.github.com/users/shilin/received_events","type":"User","site_admin":false},"repo":{"id":31973310,"name":"qna","full_name":"shilin/qna","owner":{"login":"shilin","id":20982,"avatar_url":"https://avatars.githubusercontent.com/u/20982?v=3","gravatar_id":"","url":"https://api.github.com/users/shilin","html_url":"https://github.com/shilin","followers_url":"https://api.github.com/users/shilin/followers","following_url":"https://api.github.com/users/shilin/following{/other_user}","gists_url":"https://api.github.com/users/shilin/gists{/gist_id}","starred_url":"https://api.github.com/users/shilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shilin/subscriptions","organizations_url":"https://api.github.com/users/shilin/orgs","repos_url":"https://api.github.com/users/shilin/repos","events_url":"https://api.github.com/users/shilin/events{/privacy}","received_events_url":"https://api.github.com/users/shilin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shilin/qna","description":"stackoverflow clone for thinknetika","fork":false,"url":"https://api.github.com/repos/shilin/qna","forks_url":"https://api.github.com/repos/shilin/qna/forks","keys_url":"https://api.github.com/repos/shilin/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shilin/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shilin/qna/teams","hooks_url":"https://api.github.com/repos/shilin/qna/hooks","issue_events_url":"https://api.github.com/repos/shilin/qna/issues/events{/number}","events_url":"https://api.github.com/repos/shilin/qna/events","assignees_url":"https://api.github.com/repos/shilin/qna/assignees{/user}","branches_url":"https://api.github.com/repos/shilin/qna/branches{/branch}","tags_url":"https://api.github.com/repos/shilin/qna/tags","blobs_url":"https://api.github.com/repos/shilin/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shilin/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shilin/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/shilin/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shilin/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/shilin/qna/languages","stargazers_url":"https://api.github.com/repos/shilin/qna/stargazers","contributors_url":"https://api.github.com/repos/shilin/qna/contributors","subscribers_url":"https://api.github.com/repos/shilin/qna/subscribers","subscription_url":"https://api.github.com/repos/shilin/qna/subscription","commits_url":"https://api.github.com/repos/shilin/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/shilin/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/shilin/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/shilin/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/shilin/qna/contents/{+path}","compare_url":"https://api.github.com/repos/shilin/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shilin/qna/merges","archive_url":"https://api.github.com/repos/shilin/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shilin/qna/downloads","issues_url":"https://api.github.com/repos/shilin/qna/issues{/number}","pulls_url":"https://api.github.com/repos/shilin/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/shilin/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/shilin/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shilin/qna/labels{/name}","releases_url":"https://api.github.com/repos/shilin/qna/releases{/id}","created_at":"2015-03-10T18:05:31Z","updated_at":"2015-03-17T16:52:23Z","pushed_at":"2015-03-26T17:02:29Z","git_url":"git://github.com/shilin/qna.git","ssh_url":"git@github.com:shilin/qna.git","clone_url":"https://github.com/shilin/qna.git","svn_url":"https://github.com/shilin/qna","homepage":null,"size":272,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"shilin:master","ref":"master","sha":"e2443ab58c27b4bc3ed226154af4ce880dd52e9f","user":{"login":"shilin","id":20982,"avatar_url":"https://avatars.githubusercontent.com/u/20982?v=3","gravatar_id":"","url":"https://api.github.com/users/shilin","html_url":"https://github.com/shilin","followers_url":"https://api.github.com/users/shilin/followers","following_url":"https://api.github.com/users/shilin/following{/other_user}","gists_url":"https://api.github.com/users/shilin/gists{/gist_id}","starred_url":"https://api.github.com/users/shilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shilin/subscriptions","organizations_url":"https://api.github.com/users/shilin/orgs","repos_url":"https://api.github.com/users/shilin/repos","events_url":"https://api.github.com/users/shilin/events{/privacy}","received_events_url":"https://api.github.com/users/shilin/received_events","type":"User","site_admin":false},"repo":{"id":31973310,"name":"qna","full_name":"shilin/qna","owner":{"login":"shilin","id":20982,"avatar_url":"https://avatars.githubusercontent.com/u/20982?v=3","gravatar_id":"","url":"https://api.github.com/users/shilin","html_url":"https://github.com/shilin","followers_url":"https://api.github.com/users/shilin/followers","following_url":"https://api.github.com/users/shilin/following{/other_user}","gists_url":"https://api.github.com/users/shilin/gists{/gist_id}","starred_url":"https://api.github.com/users/shilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shilin/subscriptions","organizations_url":"https://api.github.com/users/shilin/orgs","repos_url":"https://api.github.com/users/shilin/repos","events_url":"https://api.github.com/users/shilin/events{/privacy}","received_events_url":"https://api.github.com/users/shilin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shilin/qna","description":"stackoverflow clone for thinknetika","fork":false,"url":"https://api.github.com/repos/shilin/qna","forks_url":"https://api.github.com/repos/shilin/qna/forks","keys_url":"https://api.github.com/repos/shilin/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shilin/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shilin/qna/teams","hooks_url":"https://api.github.com/repos/shilin/qna/hooks","issue_events_url":"https://api.github.com/repos/shilin/qna/issues/events{/number}","events_url":"https://api.github.com/repos/shilin/qna/events","assignees_url":"https://api.github.com/repos/shilin/qna/assignees{/user}","branches_url":"https://api.github.com/repos/shilin/qna/branches{/branch}","tags_url":"https://api.github.com/repos/shilin/qna/tags","blobs_url":"https://api.github.com/repos/shilin/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shilin/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shilin/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/shilin/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shilin/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/shilin/qna/languages","stargazers_url":"https://api.github.com/repos/shilin/qna/stargazers","contributors_url":"https://api.github.com/repos/shilin/qna/contributors","subscribers_url":"https://api.github.com/repos/shilin/qna/subscribers","subscription_url":"https://api.github.com/repos/shilin/qna/subscription","commits_url":"https://api.github.com/repos/shilin/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/shilin/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/shilin/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/shilin/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/shilin/qna/contents/{+path}","compare_url":"https://api.github.com/repos/shilin/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shilin/qna/merges","archive_url":"https://api.github.com/repos/shilin/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shilin/qna/downloads","issues_url":"https://api.github.com/repos/shilin/qna/issues{/number}","pulls_url":"https://api.github.com/repos/shilin/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/shilin/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/shilin/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shilin/qna/labels{/name}","releases_url":"https://api.github.com/repos/shilin/qna/releases{/id}","created_at":"2015-03-10T18:05:31Z","updated_at":"2015-03-17T16:52:23Z","pushed_at":"2015-03-26T17:02:29Z","git_url":"git://github.com/shilin/qna.git","ssh_url":"git@github.com:shilin/qna.git","clone_url":"https://github.com/shilin/qna.git","svn_url":"https://github.com/shilin/qna","homepage":null,"size":272,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shilin/qna/pulls/3"},"html":{"href":"https://github.com/shilin/qna/pull/3"},"issue":{"href":"https://api.github.com/repos/shilin/qna/issues/3"},"comments":{"href":"https://api.github.com/repos/shilin/qna/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/shilin/qna/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/shilin/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shilin/qna/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/shilin/qna/statuses/8bdaa6a8e8a2244fbd2de794d129f4a05edb3312"}}}}