{"action":"created","comment":{"url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/comments/110838865","pull_request_review_id":32038096,"id":110838865,"diff_hunk":"@@ -9,6 +9,10 @@ def remember user\n     cookies.permanent.signed[:user_id] = user.id\n     cookies.permanent[:remember_token] = user.remember_token\n   end\n+  \n+  def current_user?(user)","path":"app/helpers/sessions_helper.rb","position":5,"original_position":5,"commit_id":"00370c5ad0dfb7f2085059c40fbefe4bf1906b4e","original_commit_id":"00370c5ad0dfb7f2085059c40fbefe4bf1906b4e","user":{"login":"tranducquoc","id":17246945,"avatar_url":"https://avatars0.githubusercontent.com/u/17246945?v=3","gravatar_id":"","url":"https://api.github.com/users/tranducquoc","html_url":"https://github.com/tranducquoc","followers_url":"https://api.github.com/users/tranducquoc/followers","following_url":"https://api.github.com/users/tranducquoc/following{/other_user}","gists_url":"https://api.github.com/users/tranducquoc/gists{/gist_id}","starred_url":"https://api.github.com/users/tranducquoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranducquoc/subscriptions","organizations_url":"https://api.github.com/users/tranducquoc/orgs","repos_url":"https://api.github.com/users/tranducquoc/repos","events_url":"https://api.github.com/users/tranducquoc/events{/privacy}","received_events_url":"https://api.github.com/users/tranducquoc/received_events","type":"User","site_admin":false},"body":"remove ()","created_at":"2017-04-11T08:14:42Z","updated_at":"2017-04-11T08:15:07Z","html_url":"https://github.com/phuocnaldo92/Chapter3/pull/11#discussion_r110838865","pull_request_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/comments/110838865"},"html":{"href":"https://github.com/phuocnaldo92/Chapter3/pull/11#discussion_r110838865"},"pull_request":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/11","id":115253696,"html_url":"https://github.com/phuocnaldo92/Chapter3/pull/11","diff_url":"https://github.com/phuocnaldo92/Chapter3/pull/11.diff","patch_url":"https://github.com/phuocnaldo92/Chapter3/pull/11.patch","issue_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/11","number":11,"state":"open","locked":false,"title":"chapter10","user":{"login":"phuocnaldo92","id":3929199,"avatar_url":"https://avatars3.githubusercontent.com/u/3929199?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocnaldo92","html_url":"https://github.com/phuocnaldo92","followers_url":"https://api.github.com/users/phuocnaldo92/followers","following_url":"https://api.github.com/users/phuocnaldo92/following{/other_user}","gists_url":"https://api.github.com/users/phuocnaldo92/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocnaldo92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocnaldo92/subscriptions","organizations_url":"https://api.github.com/users/phuocnaldo92/orgs","repos_url":"https://api.github.com/users/phuocnaldo92/repos","events_url":"https://api.github.com/users/phuocnaldo92/events{/privacy}","received_events_url":"https://api.github.com/users/phuocnaldo92/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-11T07:04:44Z","updated_at":"2017-04-11T08:15:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7852911235e6f3f57e26aa87c35c276e4923b0e2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/11/commits","review_comments_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/11/comments","review_comment_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/11/comments","statuses_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/statuses/00370c5ad0dfb7f2085059c40fbefe4bf1906b4e","head":{"label":"phuocnaldo92:chapter10","ref":"chapter10","sha":"00370c5ad0dfb7f2085059c40fbefe4bf1906b4e","user":{"login":"phuocnaldo92","id":3929199,"avatar_url":"https://avatars3.githubusercontent.com/u/3929199?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocnaldo92","html_url":"https://github.com/phuocnaldo92","followers_url":"https://api.github.com/users/phuocnaldo92/followers","following_url":"https://api.github.com/users/phuocnaldo92/following{/other_user}","gists_url":"https://api.github.com/users/phuocnaldo92/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocnaldo92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocnaldo92/subscriptions","organizations_url":"https://api.github.com/users/phuocnaldo92/orgs","repos_url":"https://api.github.com/users/phuocnaldo92/repos","events_url":"https://api.github.com/users/phuocnaldo92/events{/privacy}","received_events_url":"https://api.github.com/users/phuocnaldo92/received_events","type":"User","site_admin":false},"repo":{"id":87159739,"name":"Chapter3","full_name":"phuocnaldo92/Chapter3","owner":{"login":"phuocnaldo92","id":3929199,"avatar_url":"https://avatars3.githubusercontent.com/u/3929199?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocnaldo92","html_url":"https://github.com/phuocnaldo92","followers_url":"https://api.github.com/users/phuocnaldo92/followers","following_url":"https://api.github.com/users/phuocnaldo92/following{/other_user}","gists_url":"https://api.github.com/users/phuocnaldo92/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocnaldo92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocnaldo92/subscriptions","organizations_url":"https://api.github.com/users/phuocnaldo92/orgs","repos_url":"https://api.github.com/users/phuocnaldo92/repos","events_url":"https://api.github.com/users/phuocnaldo92/events{/privacy}","received_events_url":"https://api.github.com/users/phuocnaldo92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phuocnaldo92/Chapter3","description":null,"fork":false,"url":"https://api.github.com/repos/phuocnaldo92/Chapter3","forks_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/forks","keys_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/teams","hooks_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/hooks","issue_events_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/events{/number}","events_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/events","assignees_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/assignees{/user}","branches_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/branches{/branch}","tags_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/tags","blobs_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/refs{/sha}","trees_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/statuses/{sha}","languages_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/languages","stargazers_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/stargazers","contributors_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/contributors","subscribers_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/subscribers","subscription_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/subscription","commits_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/commits{/sha}","git_commits_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/commits{/sha}","comments_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/comments{/number}","issue_comment_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/comments{/number}","contents_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/contents/{+path}","compare_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/merges","archive_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/downloads","issues_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues{/number}","pulls_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls{/number}","milestones_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/milestones{/number}","notifications_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/labels{/name}","releases_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/releases{/id}","deployments_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/deployments","created_at":"2017-04-04T07:36:17Z","updated_at":"2017-04-04T07:44:58Z","pushed_at":"2017-04-11T07:04:44Z","git_url":"git://github.com/phuocnaldo92/Chapter3.git","ssh_url":"git@github.com:phuocnaldo92/Chapter3.git","clone_url":"https://github.com/phuocnaldo92/Chapter3.git","svn_url":"https://github.com/phuocnaldo92/Chapter3","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":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":"phuocnaldo92:master","ref":"master","sha":"8405f8bee5ad16bf1af959963032d5762a454eaa","user":{"login":"phuocnaldo92","id":3929199,"avatar_url":"https://avatars3.githubusercontent.com/u/3929199?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocnaldo92","html_url":"https://github.com/phuocnaldo92","followers_url":"https://api.github.com/users/phuocnaldo92/followers","following_url":"https://api.github.com/users/phuocnaldo92/following{/other_user}","gists_url":"https://api.github.com/users/phuocnaldo92/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocnaldo92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocnaldo92/subscriptions","organizations_url":"https://api.github.com/users/phuocnaldo92/orgs","repos_url":"https://api.github.com/users/phuocnaldo92/repos","events_url":"https://api.github.com/users/phuocnaldo92/events{/privacy}","received_events_url":"https://api.github.com/users/phuocnaldo92/received_events","type":"User","site_admin":false},"repo":{"id":87159739,"name":"Chapter3","full_name":"phuocnaldo92/Chapter3","owner":{"login":"phuocnaldo92","id":3929199,"avatar_url":"https://avatars3.githubusercontent.com/u/3929199?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocnaldo92","html_url":"https://github.com/phuocnaldo92","followers_url":"https://api.github.com/users/phuocnaldo92/followers","following_url":"https://api.github.com/users/phuocnaldo92/following{/other_user}","gists_url":"https://api.github.com/users/phuocnaldo92/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocnaldo92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocnaldo92/subscriptions","organizations_url":"https://api.github.com/users/phuocnaldo92/orgs","repos_url":"https://api.github.com/users/phuocnaldo92/repos","events_url":"https://api.github.com/users/phuocnaldo92/events{/privacy}","received_events_url":"https://api.github.com/users/phuocnaldo92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phuocnaldo92/Chapter3","description":null,"fork":false,"url":"https://api.github.com/repos/phuocnaldo92/Chapter3","forks_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/forks","keys_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/teams","hooks_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/hooks","issue_events_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/events{/number}","events_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/events","assignees_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/assignees{/user}","branches_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/branches{/branch}","tags_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/tags","blobs_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/refs{/sha}","trees_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/statuses/{sha}","languages_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/languages","stargazers_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/stargazers","contributors_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/contributors","subscribers_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/subscribers","subscription_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/subscription","commits_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/commits{/sha}","git_commits_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/git/commits{/sha}","comments_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/comments{/number}","issue_comment_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/comments{/number}","contents_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/contents/{+path}","compare_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/merges","archive_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/downloads","issues_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues{/number}","pulls_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls{/number}","milestones_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/milestones{/number}","notifications_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/labels{/name}","releases_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/releases{/id}","deployments_url":"https://api.github.com/repos/phuocnaldo92/Chapter3/deployments","created_at":"2017-04-04T07:36:17Z","updated_at":"2017-04-04T07:44:58Z","pushed_at":"2017-04-11T07:04:44Z","git_url":"git://github.com/phuocnaldo92/Chapter3.git","ssh_url":"git@github.com:phuocnaldo92/Chapter3.git","clone_url":"https://github.com/phuocnaldo92/Chapter3.git","svn_url":"https://github.com/phuocnaldo92/Chapter3","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":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/phuocnaldo92/Chapter3/pulls/11"},"html":{"href":"https://github.com/phuocnaldo92/Chapter3/pull/11"},"issue":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/11"},"comments":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/phuocnaldo92/Chapter3/statuses/00370c5ad0dfb7f2085059c40fbefe4bf1906b4e"}}}}
{"actor":{"display_login":"tranducquoc"}}