{"action":"created","comment":{"url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/comments/77966203","id":77966203,"diff_hunk":"@@ -1 +1 @@\n-%h3= \"#{t('questions.show.answers')}: #{@question.answers.count}\"\n+%h3= \"#{t('questions.show.answers')}: #{@question.answers.count}\" unless @question.answers.count.zero?","path":"app/views/questions/_answers_count.html.haml","position":2,"original_position":2,"commit_id":"ee379c4ce98ed7b07eb58cb1592641e20e815743","original_commit_id":"cddaa89153b8d3e9a84a4ba4235ede91ed400f26","user":{"login":"webmstk","id":10058472,"avatar_url":"https://avatars.githubusercontent.com/u/10058472?v=3","gravatar_id":"","url":"https://api.github.com/users/webmstk","html_url":"https://github.com/webmstk","followers_url":"https://api.github.com/users/webmstk/followers","following_url":"https://api.github.com/users/webmstk/following{/other_user}","gists_url":"https://api.github.com/users/webmstk/gists{/gist_id}","starred_url":"https://api.github.com/users/webmstk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmstk/subscriptions","organizations_url":"https://api.github.com/users/webmstk/orgs","repos_url":"https://api.github.com/users/webmstk/repos","events_url":"https://api.github.com/users/webmstk/events{/privacy}","received_events_url":"https://api.github.com/users/webmstk/received_events","type":"User","site_admin":false},"body":"я уже начал сомневаться, так ли это важно )) просто в реальных проектах count как-то редко встречается в проверках :)","created_at":"2016-09-08T08:37:46Z","updated_at":"2016-09-08T08:37:46Z","html_url":"https://github.com/AlexanderShvaykin/pro_sample_app/pull/5#discussion_r77966203","pull_request_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/comments/77966203"},"html":{"href":"https://github.com/AlexanderShvaykin/pro_sample_app/pull/5#discussion_r77966203"},"pull_request":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/5","id":84382085,"html_url":"https://github.com/AlexanderShvaykin/pro_sample_app/pull/5","diff_url":"https://github.com/AlexanderShvaykin/pro_sample_app/pull/5.diff","patch_url":"https://github.com/AlexanderShvaykin/pro_sample_app/pull/5.patch","issue_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/5","number":5,"state":"open","locked":false,"title":"Ajax features 2","user":{"login":"AlexanderShvaykin","id":15276151,"avatar_url":"https://avatars.githubusercontent.com/u/15276151?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShvaykin","html_url":"https://github.com/AlexanderShvaykin","followers_url":"https://api.github.com/users/AlexanderShvaykin/followers","following_url":"https://api.github.com/users/AlexanderShvaykin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShvaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShvaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShvaykin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShvaykin/orgs","repos_url":"https://api.github.com/users/AlexanderShvaykin/repos","events_url":"https://api.github.com/users/AlexanderShvaykin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShvaykin/received_events","type":"User","site_admin":false},"body":"  - Только автор может отредактировать свой вопрос\r\n  - Только автор может отредактировать свой ответ\r\n  - Переделать удаление ответов на ajax\r\n  - Автор вопроса может выбрать лучший ответ для своего вопроса (лучший ответ может быть только 1)\r\n  - Автор вопроса может выбрать другой ответ как лучший, если у вопроса уже выбран лучший ответ.\r\n  - Если у вопроса выбран лучший ответ, то он отображается первым в списке ответов.","created_at":"2016-09-07T22:04:16Z","updated_at":"2016-09-08T08:37:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c122e4cf82de13b322d44af809e76e7df074907","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/5/commits","review_comments_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/5/comments","review_comment_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/5/comments","statuses_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/statuses/ee379c4ce98ed7b07eb58cb1592641e20e815743","head":{"label":"AlexanderShvaykin:ajax_features_2","ref":"ajax_features_2","sha":"ee379c4ce98ed7b07eb58cb1592641e20e815743","user":{"login":"AlexanderShvaykin","id":15276151,"avatar_url":"https://avatars.githubusercontent.com/u/15276151?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShvaykin","html_url":"https://github.com/AlexanderShvaykin","followers_url":"https://api.github.com/users/AlexanderShvaykin/followers","following_url":"https://api.github.com/users/AlexanderShvaykin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShvaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShvaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShvaykin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShvaykin/orgs","repos_url":"https://api.github.com/users/AlexanderShvaykin/repos","events_url":"https://api.github.com/users/AlexanderShvaykin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShvaykin/received_events","type":"User","site_admin":false},"repo":{"id":65318743,"name":"pro_sample_app","full_name":"AlexanderShvaykin/pro_sample_app","owner":{"login":"AlexanderShvaykin","id":15276151,"avatar_url":"https://avatars.githubusercontent.com/u/15276151?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShvaykin","html_url":"https://github.com/AlexanderShvaykin","followers_url":"https://api.github.com/users/AlexanderShvaykin/followers","following_url":"https://api.github.com/users/AlexanderShvaykin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShvaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShvaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShvaykin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShvaykin/orgs","repos_url":"https://api.github.com/users/AlexanderShvaykin/repos","events_url":"https://api.github.com/users/AlexanderShvaykin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShvaykin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexanderShvaykin/pro_sample_app","description":"приложение созданное на курсе \"продвинутый интенсив\"","fork":false,"url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app","forks_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/forks","keys_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/teams","hooks_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/hooks","issue_events_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/events","assignees_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/tags","blobs_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/languages","stargazers_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/stargazers","contributors_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/contributors","subscribers_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/subscribers","subscription_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/subscription","commits_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/merges","archive_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/downloads","issues_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/deployments","created_at":"2016-08-09T18:30:08Z","updated_at":"2016-08-09T18:32:08Z","pushed_at":"2016-09-08T07:36:30Z","git_url":"git://github.com/AlexanderShvaykin/pro_sample_app.git","ssh_url":"git@github.com:AlexanderShvaykin/pro_sample_app.git","clone_url":"https://github.com/AlexanderShvaykin/pro_sample_app.git","svn_url":"https://github.com/AlexanderShvaykin/pro_sample_app","homepage":null,"size":208,"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":"AlexanderShvaykin:master","ref":"master","sha":"2a95fc9ceac6bf0dfa0d94d2c6f4f0d3e4fca635","user":{"login":"AlexanderShvaykin","id":15276151,"avatar_url":"https://avatars.githubusercontent.com/u/15276151?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShvaykin","html_url":"https://github.com/AlexanderShvaykin","followers_url":"https://api.github.com/users/AlexanderShvaykin/followers","following_url":"https://api.github.com/users/AlexanderShvaykin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShvaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShvaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShvaykin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShvaykin/orgs","repos_url":"https://api.github.com/users/AlexanderShvaykin/repos","events_url":"https://api.github.com/users/AlexanderShvaykin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShvaykin/received_events","type":"User","site_admin":false},"repo":{"id":65318743,"name":"pro_sample_app","full_name":"AlexanderShvaykin/pro_sample_app","owner":{"login":"AlexanderShvaykin","id":15276151,"avatar_url":"https://avatars.githubusercontent.com/u/15276151?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShvaykin","html_url":"https://github.com/AlexanderShvaykin","followers_url":"https://api.github.com/users/AlexanderShvaykin/followers","following_url":"https://api.github.com/users/AlexanderShvaykin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShvaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShvaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShvaykin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShvaykin/orgs","repos_url":"https://api.github.com/users/AlexanderShvaykin/repos","events_url":"https://api.github.com/users/AlexanderShvaykin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShvaykin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexanderShvaykin/pro_sample_app","description":"приложение созданное на курсе \"продвинутый интенсив\"","fork":false,"url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app","forks_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/forks","keys_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/teams","hooks_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/hooks","issue_events_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/events","assignees_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/tags","blobs_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/languages","stargazers_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/stargazers","contributors_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/contributors","subscribers_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/subscribers","subscription_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/subscription","commits_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/merges","archive_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/downloads","issues_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/deployments","created_at":"2016-08-09T18:30:08Z","updated_at":"2016-08-09T18:32:08Z","pushed_at":"2016-09-08T07:36:30Z","git_url":"git://github.com/AlexanderShvaykin/pro_sample_app.git","ssh_url":"git@github.com:AlexanderShvaykin/pro_sample_app.git","clone_url":"https://github.com/AlexanderShvaykin/pro_sample_app.git","svn_url":"https://github.com/AlexanderShvaykin/pro_sample_app","homepage":null,"size":208,"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/AlexanderShvaykin/pro_sample_app/pulls/5"},"html":{"href":"https://github.com/AlexanderShvaykin/pro_sample_app/pull/5"},"issue":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/5"},"comments":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/AlexanderShvaykin/pro_sample_app/statuses/ee379c4ce98ed7b07eb58cb1592641e20e815743"}}}}
{"actor":{"display_login":"webmstk"}}