{"action":"created","comment":{"url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/comments/74197855","id":74197855,"diff_hunk":"@@ -1,9 +1,11 @@\n .row\n   .col-sm-10.col-sm-offset-1\n-    = render @question\n+    - cache @question do","path":"app/views/questions/show.html.slim","position":4,"original_position":4,"commit_id":"2f1f0694999a450f240ee3c1651f916bba8e478a","original_commit_id":"2f1f0694999a450f240ee3c1651f916bba8e478a","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},"body":"Что будет с ссылками для редактирования/удаления вопроса? Они должны быть только у автора. У нас либо закэшируется для другого пользователя, и тогда автор их не увидит; либо наоборот – закэшируется на авторе и тогда у все будут ссылки.","created_at":"2016-08-10T07:34:32Z","updated_at":"2016-08-10T07:34:32Z","html_url":"https://github.com/vlasikhin/QA-Service/pull/24#discussion_r74197855","pull_request_url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/comments/74197855"},"html":{"href":"https://github.com/vlasikhin/QA-Service/pull/24#discussion_r74197855"},"pull_request":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/24","id":80649525,"html_url":"https://github.com/vlasikhin/QA-Service/pull/24","diff_url":"https://github.com/vlasikhin/QA-Service/pull/24.diff","patch_url":"https://github.com/vlasikhin/QA-Service/pull/24.patch","issue_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues/24","number":24,"state":"open","locked":false,"title":"add caching","user":{"login":"vlasikhin","id":16852510,"avatar_url":"https://avatars.githubusercontent.com/u/16852510?v=3","gravatar_id":"","url":"https://api.github.com/users/vlasikhin","html_url":"https://github.com/vlasikhin","followers_url":"https://api.github.com/users/vlasikhin/followers","following_url":"https://api.github.com/users/vlasikhin/following{/other_user}","gists_url":"https://api.github.com/users/vlasikhin/gists{/gist_id}","starred_url":"https://api.github.com/users/vlasikhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlasikhin/subscriptions","organizations_url":"https://api.github.com/users/vlasikhin/orgs","repos_url":"https://api.github.com/users/vlasikhin/repos","events_url":"https://api.github.com/users/vlasikhin/events{/privacy}","received_events_url":"https://api.github.com/users/vlasikhin/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-08-09T16:12:19Z","updated_at":"2016-08-10T07:34:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"481e6ea0301e29d8127471b02e33d5680136ec1b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/24/commits","review_comments_url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/24/comments","review_comment_url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues/24/comments","statuses_url":"https://api.github.com/repos/vlasikhin/QA-Service/statuses/2f1f0694999a450f240ee3c1651f916bba8e478a","head":{"label":"vlasikhin:caching","ref":"caching","sha":"2f1f0694999a450f240ee3c1651f916bba8e478a","user":{"login":"vlasikhin","id":16852510,"avatar_url":"https://avatars.githubusercontent.com/u/16852510?v=3","gravatar_id":"","url":"https://api.github.com/users/vlasikhin","html_url":"https://github.com/vlasikhin","followers_url":"https://api.github.com/users/vlasikhin/followers","following_url":"https://api.github.com/users/vlasikhin/following{/other_user}","gists_url":"https://api.github.com/users/vlasikhin/gists{/gist_id}","starred_url":"https://api.github.com/users/vlasikhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlasikhin/subscriptions","organizations_url":"https://api.github.com/users/vlasikhin/orgs","repos_url":"https://api.github.com/users/vlasikhin/repos","events_url":"https://api.github.com/users/vlasikhin/events{/privacy}","received_events_url":"https://api.github.com/users/vlasikhin/received_events","type":"User","site_admin":false},"repo":{"id":57106417,"name":"QA-Service","full_name":"vlasikhin/QA-Service","owner":{"login":"vlasikhin","id":16852510,"avatar_url":"https://avatars.githubusercontent.com/u/16852510?v=3","gravatar_id":"","url":"https://api.github.com/users/vlasikhin","html_url":"https://github.com/vlasikhin","followers_url":"https://api.github.com/users/vlasikhin/followers","following_url":"https://api.github.com/users/vlasikhin/following{/other_user}","gists_url":"https://api.github.com/users/vlasikhin/gists{/gist_id}","starred_url":"https://api.github.com/users/vlasikhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlasikhin/subscriptions","organizations_url":"https://api.github.com/users/vlasikhin/orgs","repos_url":"https://api.github.com/users/vlasikhin/repos","events_url":"https://api.github.com/users/vlasikhin/events{/privacy}","received_events_url":"https://api.github.com/users/vlasikhin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vlasikhin/QA-Service","description":null,"fork":false,"url":"https://api.github.com/repos/vlasikhin/QA-Service","forks_url":"https://api.github.com/repos/vlasikhin/QA-Service/forks","keys_url":"https://api.github.com/repos/vlasikhin/QA-Service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vlasikhin/QA-Service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vlasikhin/QA-Service/teams","hooks_url":"https://api.github.com/repos/vlasikhin/QA-Service/hooks","issue_events_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues/events{/number}","events_url":"https://api.github.com/repos/vlasikhin/QA-Service/events","assignees_url":"https://api.github.com/repos/vlasikhin/QA-Service/assignees{/user}","branches_url":"https://api.github.com/repos/vlasikhin/QA-Service/branches{/branch}","tags_url":"https://api.github.com/repos/vlasikhin/QA-Service/tags","blobs_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/refs{/sha}","trees_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vlasikhin/QA-Service/statuses/{sha}","languages_url":"https://api.github.com/repos/vlasikhin/QA-Service/languages","stargazers_url":"https://api.github.com/repos/vlasikhin/QA-Service/stargazers","contributors_url":"https://api.github.com/repos/vlasikhin/QA-Service/contributors","subscribers_url":"https://api.github.com/repos/vlasikhin/QA-Service/subscribers","subscription_url":"https://api.github.com/repos/vlasikhin/QA-Service/subscription","commits_url":"https://api.github.com/repos/vlasikhin/QA-Service/commits{/sha}","git_commits_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/commits{/sha}","comments_url":"https://api.github.com/repos/vlasikhin/QA-Service/comments{/number}","issue_comment_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues/comments{/number}","contents_url":"https://api.github.com/repos/vlasikhin/QA-Service/contents/{+path}","compare_url":"https://api.github.com/repos/vlasikhin/QA-Service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vlasikhin/QA-Service/merges","archive_url":"https://api.github.com/repos/vlasikhin/QA-Service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vlasikhin/QA-Service/downloads","issues_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues{/number}","pulls_url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls{/number}","milestones_url":"https://api.github.com/repos/vlasikhin/QA-Service/milestones{/number}","notifications_url":"https://api.github.com/repos/vlasikhin/QA-Service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vlasikhin/QA-Service/labels{/name}","releases_url":"https://api.github.com/repos/vlasikhin/QA-Service/releases{/id}","deployments_url":"https://api.github.com/repos/vlasikhin/QA-Service/deployments","created_at":"2016-04-26T07:14:42Z","updated_at":"2016-04-26T07:14:47Z","pushed_at":"2016-08-09T16:12:19Z","git_url":"git://github.com/vlasikhin/QA-Service.git","ssh_url":"git@github.com:vlasikhin/QA-Service.git","clone_url":"https://github.com/vlasikhin/QA-Service.git","svn_url":"https://github.com/vlasikhin/QA-Service","homepage":null,"size":2040,"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":"vlasikhin:master","ref":"master","sha":"6801545b8e2cca2f6899587aec6872cf5d40b78c","user":{"login":"vlasikhin","id":16852510,"avatar_url":"https://avatars.githubusercontent.com/u/16852510?v=3","gravatar_id":"","url":"https://api.github.com/users/vlasikhin","html_url":"https://github.com/vlasikhin","followers_url":"https://api.github.com/users/vlasikhin/followers","following_url":"https://api.github.com/users/vlasikhin/following{/other_user}","gists_url":"https://api.github.com/users/vlasikhin/gists{/gist_id}","starred_url":"https://api.github.com/users/vlasikhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlasikhin/subscriptions","organizations_url":"https://api.github.com/users/vlasikhin/orgs","repos_url":"https://api.github.com/users/vlasikhin/repos","events_url":"https://api.github.com/users/vlasikhin/events{/privacy}","received_events_url":"https://api.github.com/users/vlasikhin/received_events","type":"User","site_admin":false},"repo":{"id":57106417,"name":"QA-Service","full_name":"vlasikhin/QA-Service","owner":{"login":"vlasikhin","id":16852510,"avatar_url":"https://avatars.githubusercontent.com/u/16852510?v=3","gravatar_id":"","url":"https://api.github.com/users/vlasikhin","html_url":"https://github.com/vlasikhin","followers_url":"https://api.github.com/users/vlasikhin/followers","following_url":"https://api.github.com/users/vlasikhin/following{/other_user}","gists_url":"https://api.github.com/users/vlasikhin/gists{/gist_id}","starred_url":"https://api.github.com/users/vlasikhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlasikhin/subscriptions","organizations_url":"https://api.github.com/users/vlasikhin/orgs","repos_url":"https://api.github.com/users/vlasikhin/repos","events_url":"https://api.github.com/users/vlasikhin/events{/privacy}","received_events_url":"https://api.github.com/users/vlasikhin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vlasikhin/QA-Service","description":null,"fork":false,"url":"https://api.github.com/repos/vlasikhin/QA-Service","forks_url":"https://api.github.com/repos/vlasikhin/QA-Service/forks","keys_url":"https://api.github.com/repos/vlasikhin/QA-Service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vlasikhin/QA-Service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vlasikhin/QA-Service/teams","hooks_url":"https://api.github.com/repos/vlasikhin/QA-Service/hooks","issue_events_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues/events{/number}","events_url":"https://api.github.com/repos/vlasikhin/QA-Service/events","assignees_url":"https://api.github.com/repos/vlasikhin/QA-Service/assignees{/user}","branches_url":"https://api.github.com/repos/vlasikhin/QA-Service/branches{/branch}","tags_url":"https://api.github.com/repos/vlasikhin/QA-Service/tags","blobs_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/refs{/sha}","trees_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vlasikhin/QA-Service/statuses/{sha}","languages_url":"https://api.github.com/repos/vlasikhin/QA-Service/languages","stargazers_url":"https://api.github.com/repos/vlasikhin/QA-Service/stargazers","contributors_url":"https://api.github.com/repos/vlasikhin/QA-Service/contributors","subscribers_url":"https://api.github.com/repos/vlasikhin/QA-Service/subscribers","subscription_url":"https://api.github.com/repos/vlasikhin/QA-Service/subscription","commits_url":"https://api.github.com/repos/vlasikhin/QA-Service/commits{/sha}","git_commits_url":"https://api.github.com/repos/vlasikhin/QA-Service/git/commits{/sha}","comments_url":"https://api.github.com/repos/vlasikhin/QA-Service/comments{/number}","issue_comment_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues/comments{/number}","contents_url":"https://api.github.com/repos/vlasikhin/QA-Service/contents/{+path}","compare_url":"https://api.github.com/repos/vlasikhin/QA-Service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vlasikhin/QA-Service/merges","archive_url":"https://api.github.com/repos/vlasikhin/QA-Service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vlasikhin/QA-Service/downloads","issues_url":"https://api.github.com/repos/vlasikhin/QA-Service/issues{/number}","pulls_url":"https://api.github.com/repos/vlasikhin/QA-Service/pulls{/number}","milestones_url":"https://api.github.com/repos/vlasikhin/QA-Service/milestones{/number}","notifications_url":"https://api.github.com/repos/vlasikhin/QA-Service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vlasikhin/QA-Service/labels{/name}","releases_url":"https://api.github.com/repos/vlasikhin/QA-Service/releases{/id}","deployments_url":"https://api.github.com/repos/vlasikhin/QA-Service/deployments","created_at":"2016-04-26T07:14:42Z","updated_at":"2016-04-26T07:14:47Z","pushed_at":"2016-08-09T16:12:19Z","git_url":"git://github.com/vlasikhin/QA-Service.git","ssh_url":"git@github.com:vlasikhin/QA-Service.git","clone_url":"https://github.com/vlasikhin/QA-Service.git","svn_url":"https://github.com/vlasikhin/QA-Service","homepage":null,"size":2040,"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/vlasikhin/QA-Service/pulls/24"},"html":{"href":"https://github.com/vlasikhin/QA-Service/pull/24"},"issue":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/issues/24"},"comments":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/vlasikhin/QA-Service/statuses/2f1f0694999a450f240ee3c1651f916bba8e478a"}}}}
{"actor":{"display_login":"palkan"}}