{"action":"created","comment":{"url":"https://api.github.com/repos/mr-koww/codeQ/pulls/comments/33893599","id":33893599,"diff_hunk":"@@ -1,18 +1,19 @@\n .col-xs-12.col-sm-8.answer id=\"#{ dom_id(answer) }\"\n-  / best answer mark\n-  - if answer.best\n-    = I18n.t('answer.label.best')\n+  - cache answer do\n+    / best answer mark\n+    - if answer.best\n+      = I18n.t('answer.label.best')\n \n-  p= answer.body\n+    p= answer.body\n \n-  / attachments\n-  - if answer.attachments.any?\n-    p= t('attachment.label.title')\n-    ul\n-      - answer.attachments.each do |attachment|\n-        div id=\"attachment_#{ attachment.id }\"\n-        li\n-          p= link_to attachment.file.filename, attachment.file.url\n+    / attachments\n+    - if answer.attachments.any?","path":"app/views/answers/_answer.html.slim","position":22,"original_position":22,"commit_id":"b9f70a773d3422b7b8eb8c8cb62efbdd9bcae44b","original_commit_id":"b9f70a773d3422b7b8eb8c8cb62efbdd9bcae44b","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":"Аттачменты тоже надо было отдельным фрагментом кшешировать","created_at":"2015-07-05T10:22:38Z","updated_at":"2015-07-05T10:22:38Z","html_url":"https://github.com/mr-koww/codeQ/pull/32#discussion_r33893599","pull_request_url":"https://api.github.com/repos/mr-koww/codeQ/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/mr-koww/codeQ/pulls/comments/33893599"},"html":{"href":"https://github.com/mr-koww/codeQ/pull/32#discussion_r33893599"},"pull_request":{"href":"https://api.github.com/repos/mr-koww/codeQ/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/mr-koww/codeQ/pulls/32","id":39218736,"html_url":"https://github.com/mr-koww/codeQ/pull/32","diff_url":"https://github.com/mr-koww/codeQ/pull/32.diff","patch_url":"https://github.com/mr-koww/codeQ/pull/32.patch","issue_url":"https://api.github.com/repos/mr-koww/codeQ/issues/32","number":32,"state":"open","locked":false,"title":"Lesson22","user":{"login":"mr-koww","id":6480930,"avatar_url":"https://avatars.githubusercontent.com/u/6480930?v=3","gravatar_id":"","url":"https://api.github.com/users/mr-koww","html_url":"https://github.com/mr-koww","followers_url":"https://api.github.com/users/mr-koww/followers","following_url":"https://api.github.com/users/mr-koww/following{/other_user}","gists_url":"https://api.github.com/users/mr-koww/gists{/gist_id}","starred_url":"https://api.github.com/users/mr-koww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr-koww/subscriptions","organizations_url":"https://api.github.com/users/mr-koww/orgs","repos_url":"https://api.github.com/users/mr-koww/repos","events_url":"https://api.github.com/users/mr-koww/events{/privacy}","received_events_url":"https://api.github.com/users/mr-koww/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-05T10:20:27Z","updated_at":"2015-07-05T10:22:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4254132ee17d51497d6f11aa35dd015b45193935","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mr-koww/codeQ/pulls/32/commits","review_comments_url":"https://api.github.com/repos/mr-koww/codeQ/pulls/32/comments","review_comment_url":"https://api.github.com/repos/mr-koww/codeQ/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mr-koww/codeQ/issues/32/comments","statuses_url":"https://api.github.com/repos/mr-koww/codeQ/statuses/b9f70a773d3422b7b8eb8c8cb62efbdd9bcae44b","head":{"label":"mr-koww:lesson22","ref":"lesson22","sha":"b9f70a773d3422b7b8eb8c8cb62efbdd9bcae44b","user":{"login":"mr-koww","id":6480930,"avatar_url":"https://avatars.githubusercontent.com/u/6480930?v=3","gravatar_id":"","url":"https://api.github.com/users/mr-koww","html_url":"https://github.com/mr-koww","followers_url":"https://api.github.com/users/mr-koww/followers","following_url":"https://api.github.com/users/mr-koww/following{/other_user}","gists_url":"https://api.github.com/users/mr-koww/gists{/gist_id}","starred_url":"https://api.github.com/users/mr-koww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr-koww/subscriptions","organizations_url":"https://api.github.com/users/mr-koww/orgs","repos_url":"https://api.github.com/users/mr-koww/repos","events_url":"https://api.github.com/users/mr-koww/events{/privacy}","received_events_url":"https://api.github.com/users/mr-koww/received_events","type":"User","site_admin":false},"repo":{"id":31952815,"name":"codeQ","full_name":"mr-koww/codeQ","owner":{"login":"mr-koww","id":6480930,"avatar_url":"https://avatars.githubusercontent.com/u/6480930?v=3","gravatar_id":"","url":"https://api.github.com/users/mr-koww","html_url":"https://github.com/mr-koww","followers_url":"https://api.github.com/users/mr-koww/followers","following_url":"https://api.github.com/users/mr-koww/following{/other_user}","gists_url":"https://api.github.com/users/mr-koww/gists{/gist_id}","starred_url":"https://api.github.com/users/mr-koww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr-koww/subscriptions","organizations_url":"https://api.github.com/users/mr-koww/orgs","repos_url":"https://api.github.com/users/mr-koww/repos","events_url":"https://api.github.com/users/mr-koww/events{/privacy}","received_events_url":"https://api.github.com/users/mr-koww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mr-koww/codeQ","description":"thinknetica app","fork":false,"url":"https://api.github.com/repos/mr-koww/codeQ","forks_url":"https://api.github.com/repos/mr-koww/codeQ/forks","keys_url":"https://api.github.com/repos/mr-koww/codeQ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mr-koww/codeQ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mr-koww/codeQ/teams","hooks_url":"https://api.github.com/repos/mr-koww/codeQ/hooks","issue_events_url":"https://api.github.com/repos/mr-koww/codeQ/issues/events{/number}","events_url":"https://api.github.com/repos/mr-koww/codeQ/events","assignees_url":"https://api.github.com/repos/mr-koww/codeQ/assignees{/user}","branches_url":"https://api.github.com/repos/mr-koww/codeQ/branches{/branch}","tags_url":"https://api.github.com/repos/mr-koww/codeQ/tags","blobs_url":"https://api.github.com/repos/mr-koww/codeQ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mr-koww/codeQ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mr-koww/codeQ/git/refs{/sha}","trees_url":"https://api.github.com/repos/mr-koww/codeQ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mr-koww/codeQ/statuses/{sha}","languages_url":"https://api.github.com/repos/mr-koww/codeQ/languages","stargazers_url":"https://api.github.com/repos/mr-koww/codeQ/stargazers","contributors_url":"https://api.github.com/repos/mr-koww/codeQ/contributors","subscribers_url":"https://api.github.com/repos/mr-koww/codeQ/subscribers","subscription_url":"https://api.github.com/repos/mr-koww/codeQ/subscription","commits_url":"https://api.github.com/repos/mr-koww/codeQ/commits{/sha}","git_commits_url":"https://api.github.com/repos/mr-koww/codeQ/git/commits{/sha}","comments_url":"https://api.github.com/repos/mr-koww/codeQ/comments{/number}","issue_comment_url":"https://api.github.com/repos/mr-koww/codeQ/issues/comments{/number}","contents_url":"https://api.github.com/repos/mr-koww/codeQ/contents/{+path}","compare_url":"https://api.github.com/repos/mr-koww/codeQ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mr-koww/codeQ/merges","archive_url":"https://api.github.com/repos/mr-koww/codeQ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mr-koww/codeQ/downloads","issues_url":"https://api.github.com/repos/mr-koww/codeQ/issues{/number}","pulls_url":"https://api.github.com/repos/mr-koww/codeQ/pulls{/number}","milestones_url":"https://api.github.com/repos/mr-koww/codeQ/milestones{/number}","notifications_url":"https://api.github.com/repos/mr-koww/codeQ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mr-koww/codeQ/labels{/name}","releases_url":"https://api.github.com/repos/mr-koww/codeQ/releases{/id}","created_at":"2015-03-10T11:05:13Z","updated_at":"2015-05-07T12:14:58Z","pushed_at":"2015-07-05T10:20:27Z","git_url":"git://github.com/mr-koww/codeQ.git","ssh_url":"git@github.com:mr-koww/codeQ.git","clone_url":"https://github.com/mr-koww/codeQ.git","svn_url":"https://github.com/mr-koww/codeQ","homepage":"","size":1096,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"mr-koww:master","ref":"master","sha":"7e23600b0a449d937b93c23fa1166b3afca20ff6","user":{"login":"mr-koww","id":6480930,"avatar_url":"https://avatars.githubusercontent.com/u/6480930?v=3","gravatar_id":"","url":"https://api.github.com/users/mr-koww","html_url":"https://github.com/mr-koww","followers_url":"https://api.github.com/users/mr-koww/followers","following_url":"https://api.github.com/users/mr-koww/following{/other_user}","gists_url":"https://api.github.com/users/mr-koww/gists{/gist_id}","starred_url":"https://api.github.com/users/mr-koww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr-koww/subscriptions","organizations_url":"https://api.github.com/users/mr-koww/orgs","repos_url":"https://api.github.com/users/mr-koww/repos","events_url":"https://api.github.com/users/mr-koww/events{/privacy}","received_events_url":"https://api.github.com/users/mr-koww/received_events","type":"User","site_admin":false},"repo":{"id":31952815,"name":"codeQ","full_name":"mr-koww/codeQ","owner":{"login":"mr-koww","id":6480930,"avatar_url":"https://avatars.githubusercontent.com/u/6480930?v=3","gravatar_id":"","url":"https://api.github.com/users/mr-koww","html_url":"https://github.com/mr-koww","followers_url":"https://api.github.com/users/mr-koww/followers","following_url":"https://api.github.com/users/mr-koww/following{/other_user}","gists_url":"https://api.github.com/users/mr-koww/gists{/gist_id}","starred_url":"https://api.github.com/users/mr-koww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr-koww/subscriptions","organizations_url":"https://api.github.com/users/mr-koww/orgs","repos_url":"https://api.github.com/users/mr-koww/repos","events_url":"https://api.github.com/users/mr-koww/events{/privacy}","received_events_url":"https://api.github.com/users/mr-koww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mr-koww/codeQ","description":"thinknetica app","fork":false,"url":"https://api.github.com/repos/mr-koww/codeQ","forks_url":"https://api.github.com/repos/mr-koww/codeQ/forks","keys_url":"https://api.github.com/repos/mr-koww/codeQ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mr-koww/codeQ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mr-koww/codeQ/teams","hooks_url":"https://api.github.com/repos/mr-koww/codeQ/hooks","issue_events_url":"https://api.github.com/repos/mr-koww/codeQ/issues/events{/number}","events_url":"https://api.github.com/repos/mr-koww/codeQ/events","assignees_url":"https://api.github.com/repos/mr-koww/codeQ/assignees{/user}","branches_url":"https://api.github.com/repos/mr-koww/codeQ/branches{/branch}","tags_url":"https://api.github.com/repos/mr-koww/codeQ/tags","blobs_url":"https://api.github.com/repos/mr-koww/codeQ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mr-koww/codeQ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mr-koww/codeQ/git/refs{/sha}","trees_url":"https://api.github.com/repos/mr-koww/codeQ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mr-koww/codeQ/statuses/{sha}","languages_url":"https://api.github.com/repos/mr-koww/codeQ/languages","stargazers_url":"https://api.github.com/repos/mr-koww/codeQ/stargazers","contributors_url":"https://api.github.com/repos/mr-koww/codeQ/contributors","subscribers_url":"https://api.github.com/repos/mr-koww/codeQ/subscribers","subscription_url":"https://api.github.com/repos/mr-koww/codeQ/subscription","commits_url":"https://api.github.com/repos/mr-koww/codeQ/commits{/sha}","git_commits_url":"https://api.github.com/repos/mr-koww/codeQ/git/commits{/sha}","comments_url":"https://api.github.com/repos/mr-koww/codeQ/comments{/number}","issue_comment_url":"https://api.github.com/repos/mr-koww/codeQ/issues/comments{/number}","contents_url":"https://api.github.com/repos/mr-koww/codeQ/contents/{+path}","compare_url":"https://api.github.com/repos/mr-koww/codeQ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mr-koww/codeQ/merges","archive_url":"https://api.github.com/repos/mr-koww/codeQ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mr-koww/codeQ/downloads","issues_url":"https://api.github.com/repos/mr-koww/codeQ/issues{/number}","pulls_url":"https://api.github.com/repos/mr-koww/codeQ/pulls{/number}","milestones_url":"https://api.github.com/repos/mr-koww/codeQ/milestones{/number}","notifications_url":"https://api.github.com/repos/mr-koww/codeQ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mr-koww/codeQ/labels{/name}","releases_url":"https://api.github.com/repos/mr-koww/codeQ/releases{/id}","created_at":"2015-03-10T11:05:13Z","updated_at":"2015-05-07T12:14:58Z","pushed_at":"2015-07-05T10:20:27Z","git_url":"git://github.com/mr-koww/codeQ.git","ssh_url":"git@github.com:mr-koww/codeQ.git","clone_url":"https://github.com/mr-koww/codeQ.git","svn_url":"https://github.com/mr-koww/codeQ","homepage":"","size":1096,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mr-koww/codeQ/pulls/32"},"html":{"href":"https://github.com/mr-koww/codeQ/pull/32"},"issue":{"href":"https://api.github.com/repos/mr-koww/codeQ/issues/32"},"comments":{"href":"https://api.github.com/repos/mr-koww/codeQ/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/mr-koww/codeQ/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/mr-koww/codeQ/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mr-koww/codeQ/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/mr-koww/codeQ/statuses/b9f70a773d3422b7b8eb8c8cb62efbdd9bcae44b"}}}}