{"action":"created","comment":{"url":"https://api.github.com/repos/lesinh97/sample_app/pulls/comments/195290056","pull_request_review_id":128626834,"id":195290056,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTI5MDA1Ng==","diff_hunk":"@@ -2,6 +2,14 @@ class User < ApplicationRecord\n   VALID_EMAIL_REGEX = /\\A[\\w+\\-.]+@[a-z\\d\\-]+(\\.[a-z\\d\\-]+)*\\.[a-z]+\\z/is\n   attr_accessor :remember_token, :activation_token, :reset_token\n   has_many :microposts, dependent: :destroy\n+  has_many :active_relationships, class_name: \"Relationship\",","path":"app/models/user.rb","position":4,"original_position":4,"commit_id":"36f9f13697932ef8a1f3b9c059251804afe39fd0","original_commit_id":"36f9f13697932ef8a1f3b9c059251804afe39fd0","user":{"login":"VuThiTranVan","id":27009821,"node_id":"MDQ6VXNlcjI3MDA5ODIx","avatar_url":"https://avatars3.githubusercontent.com/u/27009821?v=4","gravatar_id":"","url":"https://api.github.com/users/VuThiTranVan","html_url":"https://github.com/VuThiTranVan","followers_url":"https://api.github.com/users/VuThiTranVan/followers","following_url":"https://api.github.com/users/VuThiTranVan/following{/other_user}","gists_url":"https://api.github.com/users/VuThiTranVan/gists{/gist_id}","starred_url":"https://api.github.com/users/VuThiTranVan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VuThiTranVan/subscriptions","organizations_url":"https://api.github.com/users/VuThiTranVan/orgs","repos_url":"https://api.github.com/users/VuThiTranVan/repos","events_url":"https://api.github.com/users/VuThiTranVan/events{/privacy}","received_events_url":"https://api.github.com/users/VuThiTranVan/received_events","type":"User","site_admin":false},"body":"cái này thì ăn (tat) nhé\r\ncomment file trên thì tương tự fix cái dưới chứ chú\r\n`\"Relationship\"` dùng `Relationship.name`","created_at":"2018-06-14T02:49:32Z","updated_at":"2018-06-14T02:52:05Z","html_url":"https://github.com/lesinh97/sample_app/pull/14#discussion_r195290056","pull_request_url":"https://api.github.com/repos/lesinh97/sample_app/pulls/14","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/lesinh97/sample_app/pulls/comments/195290056"},"html":{"href":"https://github.com/lesinh97/sample_app/pull/14#discussion_r195290056"},"pull_request":{"href":"https://api.github.com/repos/lesinh97/sample_app/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/lesinh97/sample_app/pulls/14","id":194529826,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NTI5ODI2","html_url":"https://github.com/lesinh97/sample_app/pull/14","diff_url":"https://github.com/lesinh97/sample_app/pull/14.diff","patch_url":"https://github.com/lesinh97/sample_app/pull/14.patch","issue_url":"https://api.github.com/repos/lesinh97/sample_app/issues/14","number":14,"state":"open","locked":false,"title":"chap_14","user":{"login":"lesinh97","id":16218980,"node_id":"MDQ6VXNlcjE2MjE4OTgw","avatar_url":"https://avatars1.githubusercontent.com/u/16218980?v=4","gravatar_id":"","url":"https://api.github.com/users/lesinh97","html_url":"https://github.com/lesinh97","followers_url":"https://api.github.com/users/lesinh97/followers","following_url":"https://api.github.com/users/lesinh97/following{/other_user}","gists_url":"https://api.github.com/users/lesinh97/gists{/gist_id}","starred_url":"https://api.github.com/users/lesinh97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesinh97/subscriptions","organizations_url":"https://api.github.com/users/lesinh97/orgs","repos_url":"https://api.github.com/users/lesinh97/repos","events_url":"https://api.github.com/users/lesinh97/events{/privacy}","received_events_url":"https://api.github.com/users/lesinh97/received_events","type":"User","site_admin":false},"body":"![rubocop](https://user-images.githubusercontent.com/16218980/41343908-04bb5d00-6f2a-11e8-8c08-7d7f394908df.png)\r\n","created_at":"2018-06-13T09:51:37Z","updated_at":"2018-06-14T02:52:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5d36410d4aad0031d997dd12bb6036ed6ff8912","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lesinh97/sample_app/pulls/14/commits","review_comments_url":"https://api.github.com/repos/lesinh97/sample_app/pulls/14/comments","review_comment_url":"https://api.github.com/repos/lesinh97/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lesinh97/sample_app/issues/14/comments","statuses_url":"https://api.github.com/repos/lesinh97/sample_app/statuses/36f9f13697932ef8a1f3b9c059251804afe39fd0","head":{"label":"lesinh97:chap_14","ref":"chap_14","sha":"36f9f13697932ef8a1f3b9c059251804afe39fd0","user":{"login":"lesinh97","id":16218980,"node_id":"MDQ6VXNlcjE2MjE4OTgw","avatar_url":"https://avatars1.githubusercontent.com/u/16218980?v=4","gravatar_id":"","url":"https://api.github.com/users/lesinh97","html_url":"https://github.com/lesinh97","followers_url":"https://api.github.com/users/lesinh97/followers","following_url":"https://api.github.com/users/lesinh97/following{/other_user}","gists_url":"https://api.github.com/users/lesinh97/gists{/gist_id}","starred_url":"https://api.github.com/users/lesinh97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesinh97/subscriptions","organizations_url":"https://api.github.com/users/lesinh97/orgs","repos_url":"https://api.github.com/users/lesinh97/repos","events_url":"https://api.github.com/users/lesinh97/events{/privacy}","received_events_url":"https://api.github.com/users/lesinh97/received_events","type":"User","site_admin":false},"repo":{"id":135969762,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5Njk3NjI=","name":"sample_app","full_name":"lesinh97/sample_app","owner":{"login":"lesinh97","id":16218980,"node_id":"MDQ6VXNlcjE2MjE4OTgw","avatar_url":"https://avatars1.githubusercontent.com/u/16218980?v=4","gravatar_id":"","url":"https://api.github.com/users/lesinh97","html_url":"https://github.com/lesinh97","followers_url":"https://api.github.com/users/lesinh97/followers","following_url":"https://api.github.com/users/lesinh97/following{/other_user}","gists_url":"https://api.github.com/users/lesinh97/gists{/gist_id}","starred_url":"https://api.github.com/users/lesinh97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesinh97/subscriptions","organizations_url":"https://api.github.com/users/lesinh97/orgs","repos_url":"https://api.github.com/users/lesinh97/repos","events_url":"https://api.github.com/users/lesinh97/events{/privacy}","received_events_url":"https://api.github.com/users/lesinh97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lesinh97/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/lesinh97/sample_app","forks_url":"https://api.github.com/repos/lesinh97/sample_app/forks","keys_url":"https://api.github.com/repos/lesinh97/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lesinh97/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lesinh97/sample_app/teams","hooks_url":"https://api.github.com/repos/lesinh97/sample_app/hooks","issue_events_url":"https://api.github.com/repos/lesinh97/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/lesinh97/sample_app/events","assignees_url":"https://api.github.com/repos/lesinh97/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/lesinh97/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/lesinh97/sample_app/tags","blobs_url":"https://api.github.com/repos/lesinh97/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lesinh97/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lesinh97/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/lesinh97/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lesinh97/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/lesinh97/sample_app/languages","stargazers_url":"https://api.github.com/repos/lesinh97/sample_app/stargazers","contributors_url":"https://api.github.com/repos/lesinh97/sample_app/contributors","subscribers_url":"https://api.github.com/repos/lesinh97/sample_app/subscribers","subscription_url":"https://api.github.com/repos/lesinh97/sample_app/subscription","commits_url":"https://api.github.com/repos/lesinh97/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/lesinh97/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/lesinh97/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/lesinh97/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/lesinh97/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/lesinh97/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lesinh97/sample_app/merges","archive_url":"https://api.github.com/repos/lesinh97/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lesinh97/sample_app/downloads","issues_url":"https://api.github.com/repos/lesinh97/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/lesinh97/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/lesinh97/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/lesinh97/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lesinh97/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/lesinh97/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/lesinh97/sample_app/deployments","created_at":"2018-06-04T04:16:34Z","updated_at":"2018-06-13T09:04:45Z","pushed_at":"2018-06-14T02:39:04Z","git_url":"git://github.com/lesinh97/sample_app.git","ssh_url":"git@github.com:lesinh97/sample_app.git","clone_url":"https://github.com/lesinh97/sample_app.git","svn_url":"https://github.com/lesinh97/sample_app","homepage":null,"size":106,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"lesinh97:master","ref":"master","sha":"61ecde8fb974ef96fadf1a21e46dffd2be24b5a7","user":{"login":"lesinh97","id":16218980,"node_id":"MDQ6VXNlcjE2MjE4OTgw","avatar_url":"https://avatars1.githubusercontent.com/u/16218980?v=4","gravatar_id":"","url":"https://api.github.com/users/lesinh97","html_url":"https://github.com/lesinh97","followers_url":"https://api.github.com/users/lesinh97/followers","following_url":"https://api.github.com/users/lesinh97/following{/other_user}","gists_url":"https://api.github.com/users/lesinh97/gists{/gist_id}","starred_url":"https://api.github.com/users/lesinh97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesinh97/subscriptions","organizations_url":"https://api.github.com/users/lesinh97/orgs","repos_url":"https://api.github.com/users/lesinh97/repos","events_url":"https://api.github.com/users/lesinh97/events{/privacy}","received_events_url":"https://api.github.com/users/lesinh97/received_events","type":"User","site_admin":false},"repo":{"id":135969762,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5Njk3NjI=","name":"sample_app","full_name":"lesinh97/sample_app","owner":{"login":"lesinh97","id":16218980,"node_id":"MDQ6VXNlcjE2MjE4OTgw","avatar_url":"https://avatars1.githubusercontent.com/u/16218980?v=4","gravatar_id":"","url":"https://api.github.com/users/lesinh97","html_url":"https://github.com/lesinh97","followers_url":"https://api.github.com/users/lesinh97/followers","following_url":"https://api.github.com/users/lesinh97/following{/other_user}","gists_url":"https://api.github.com/users/lesinh97/gists{/gist_id}","starred_url":"https://api.github.com/users/lesinh97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesinh97/subscriptions","organizations_url":"https://api.github.com/users/lesinh97/orgs","repos_url":"https://api.github.com/users/lesinh97/repos","events_url":"https://api.github.com/users/lesinh97/events{/privacy}","received_events_url":"https://api.github.com/users/lesinh97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lesinh97/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/lesinh97/sample_app","forks_url":"https://api.github.com/repos/lesinh97/sample_app/forks","keys_url":"https://api.github.com/repos/lesinh97/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lesinh97/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lesinh97/sample_app/teams","hooks_url":"https://api.github.com/repos/lesinh97/sample_app/hooks","issue_events_url":"https://api.github.com/repos/lesinh97/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/lesinh97/sample_app/events","assignees_url":"https://api.github.com/repos/lesinh97/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/lesinh97/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/lesinh97/sample_app/tags","blobs_url":"https://api.github.com/repos/lesinh97/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lesinh97/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lesinh97/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/lesinh97/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lesinh97/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/lesinh97/sample_app/languages","stargazers_url":"https://api.github.com/repos/lesinh97/sample_app/stargazers","contributors_url":"https://api.github.com/repos/lesinh97/sample_app/contributors","subscribers_url":"https://api.github.com/repos/lesinh97/sample_app/subscribers","subscription_url":"https://api.github.com/repos/lesinh97/sample_app/subscription","commits_url":"https://api.github.com/repos/lesinh97/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/lesinh97/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/lesinh97/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/lesinh97/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/lesinh97/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/lesinh97/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lesinh97/sample_app/merges","archive_url":"https://api.github.com/repos/lesinh97/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lesinh97/sample_app/downloads","issues_url":"https://api.github.com/repos/lesinh97/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/lesinh97/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/lesinh97/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/lesinh97/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lesinh97/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/lesinh97/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/lesinh97/sample_app/deployments","created_at":"2018-06-04T04:16:34Z","updated_at":"2018-06-13T09:04:45Z","pushed_at":"2018-06-14T02:39:04Z","git_url":"git://github.com/lesinh97/sample_app.git","ssh_url":"git@github.com:lesinh97/sample_app.git","clone_url":"https://github.com/lesinh97/sample_app.git","svn_url":"https://github.com/lesinh97/sample_app","homepage":null,"size":106,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lesinh97/sample_app/pulls/14"},"html":{"href":"https://github.com/lesinh97/sample_app/pull/14"},"issue":{"href":"https://api.github.com/repos/lesinh97/sample_app/issues/14"},"comments":{"href":"https://api.github.com/repos/lesinh97/sample_app/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/lesinh97/sample_app/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/lesinh97/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lesinh97/sample_app/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/lesinh97/sample_app/statuses/36f9f13697932ef8a1f3b9c059251804afe39fd0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"VuThiTranVan"}}