{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_37/pulls/comments/81081359","pull_request_review_id":2086948,"id":81081359,"diff_hunk":"@@ -0,0 +1,14 @@\n+class User < ApplicationRecord\n+  has_many :comments\n+  has_many :requests\n+  has_many :book_users\n+  has_many :books, through: :book_users\n+  has_many :active_relationships, class_name: \"Relationship\",","path":"app/models/user.rb","position":6,"original_position":6,"commit_id":"86d16d6fe3df516506387e0d26ef7c52301feef5","original_commit_id":"86d16d6fe3df516506387e0d26ef7c52301feef5","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"body":"sao o day k sua nhi?","created_at":"2016-09-29T07:49:19Z","updated_at":"2016-09-29T07:49:31Z","html_url":"https://github.com/framgia/brs_37/pull/6#discussion_r81081359","pull_request_url":"https://api.github.com/repos/framgia/brs_37/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_37/pulls/comments/81081359"},"html":{"href":"https://github.com/framgia/brs_37/pull/6#discussion_r81081359"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_37/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_37/pulls/6","id":87243478,"html_url":"https://github.com/framgia/brs_37/pull/6","diff_url":"https://github.com/framgia/brs_37/pull/6.diff","patch_url":"https://github.com/framgia/brs_37/pull/6.patch","issue_url":"https://api.github.com/repos/framgia/brs_37/issues/6","number":6,"state":"open","locked":false,"title":"Initmodel","user":{"login":"Huyliver6793","id":18795322,"avatar_url":"https://avatars.githubusercontent.com/u/18795322?v=3","gravatar_id":"","url":"https://api.github.com/users/Huyliver6793","html_url":"https://github.com/Huyliver6793","followers_url":"https://api.github.com/users/Huyliver6793/followers","following_url":"https://api.github.com/users/Huyliver6793/following{/other_user}","gists_url":"https://api.github.com/users/Huyliver6793/gists{/gist_id}","starred_url":"https://api.github.com/users/Huyliver6793/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huyliver6793/subscriptions","organizations_url":"https://api.github.com/users/Huyliver6793/orgs","repos_url":"https://api.github.com/users/Huyliver6793/repos","events_url":"https://api.github.com/users/Huyliver6793/events{/privacy}","received_events_url":"https://api.github.com/users/Huyliver6793/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-29T04:10:46Z","updated_at":"2016-09-29T07:49:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"addeba0304607214ec1e9354db54bc2b1e4b311f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_37/pulls/6/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_37/pulls/6/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_37/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_37/issues/6/comments","statuses_url":"https://api.github.com/repos/framgia/brs_37/statuses/86d16d6fe3df516506387e0d26ef7c52301feef5","head":{"label":"Huyliver6793:initmodel","ref":"initmodel","sha":"86d16d6fe3df516506387e0d26ef7c52301feef5","user":{"login":"Huyliver6793","id":18795322,"avatar_url":"https://avatars.githubusercontent.com/u/18795322?v=3","gravatar_id":"","url":"https://api.github.com/users/Huyliver6793","html_url":"https://github.com/Huyliver6793","followers_url":"https://api.github.com/users/Huyliver6793/followers","following_url":"https://api.github.com/users/Huyliver6793/following{/other_user}","gists_url":"https://api.github.com/users/Huyliver6793/gists{/gist_id}","starred_url":"https://api.github.com/users/Huyliver6793/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huyliver6793/subscriptions","organizations_url":"https://api.github.com/users/Huyliver6793/orgs","repos_url":"https://api.github.com/users/Huyliver6793/repos","events_url":"https://api.github.com/users/Huyliver6793/events{/privacy}","received_events_url":"https://api.github.com/users/Huyliver6793/received_events","type":"User","site_admin":false},"repo":{"id":69515748,"name":"brs_37","full_name":"Huyliver6793/brs_37","owner":{"login":"Huyliver6793","id":18795322,"avatar_url":"https://avatars.githubusercontent.com/u/18795322?v=3","gravatar_id":"","url":"https://api.github.com/users/Huyliver6793","html_url":"https://github.com/Huyliver6793","followers_url":"https://api.github.com/users/Huyliver6793/followers","following_url":"https://api.github.com/users/Huyliver6793/following{/other_user}","gists_url":"https://api.github.com/users/Huyliver6793/gists{/gist_id}","starred_url":"https://api.github.com/users/Huyliver6793/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huyliver6793/subscriptions","organizations_url":"https://api.github.com/users/Huyliver6793/orgs","repos_url":"https://api.github.com/users/Huyliver6793/repos","events_url":"https://api.github.com/users/Huyliver6793/events{/privacy}","received_events_url":"https://api.github.com/users/Huyliver6793/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Huyliver6793/brs_37","description":"Framgia Book Reviewing System (training)","fork":true,"url":"https://api.github.com/repos/Huyliver6793/brs_37","forks_url":"https://api.github.com/repos/Huyliver6793/brs_37/forks","keys_url":"https://api.github.com/repos/Huyliver6793/brs_37/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Huyliver6793/brs_37/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Huyliver6793/brs_37/teams","hooks_url":"https://api.github.com/repos/Huyliver6793/brs_37/hooks","issue_events_url":"https://api.github.com/repos/Huyliver6793/brs_37/issues/events{/number}","events_url":"https://api.github.com/repos/Huyliver6793/brs_37/events","assignees_url":"https://api.github.com/repos/Huyliver6793/brs_37/assignees{/user}","branches_url":"https://api.github.com/repos/Huyliver6793/brs_37/branches{/branch}","tags_url":"https://api.github.com/repos/Huyliver6793/brs_37/tags","blobs_url":"https://api.github.com/repos/Huyliver6793/brs_37/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Huyliver6793/brs_37/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Huyliver6793/brs_37/git/refs{/sha}","trees_url":"https://api.github.com/repos/Huyliver6793/brs_37/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Huyliver6793/brs_37/statuses/{sha}","languages_url":"https://api.github.com/repos/Huyliver6793/brs_37/languages","stargazers_url":"https://api.github.com/repos/Huyliver6793/brs_37/stargazers","contributors_url":"https://api.github.com/repos/Huyliver6793/brs_37/contributors","subscribers_url":"https://api.github.com/repos/Huyliver6793/brs_37/subscribers","subscription_url":"https://api.github.com/repos/Huyliver6793/brs_37/subscription","commits_url":"https://api.github.com/repos/Huyliver6793/brs_37/commits{/sha}","git_commits_url":"https://api.github.com/repos/Huyliver6793/brs_37/git/commits{/sha}","comments_url":"https://api.github.com/repos/Huyliver6793/brs_37/comments{/number}","issue_comment_url":"https://api.github.com/repos/Huyliver6793/brs_37/issues/comments{/number}","contents_url":"https://api.github.com/repos/Huyliver6793/brs_37/contents/{+path}","compare_url":"https://api.github.com/repos/Huyliver6793/brs_37/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Huyliver6793/brs_37/merges","archive_url":"https://api.github.com/repos/Huyliver6793/brs_37/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Huyliver6793/brs_37/downloads","issues_url":"https://api.github.com/repos/Huyliver6793/brs_37/issues{/number}","pulls_url":"https://api.github.com/repos/Huyliver6793/brs_37/pulls{/number}","milestones_url":"https://api.github.com/repos/Huyliver6793/brs_37/milestones{/number}","notifications_url":"https://api.github.com/repos/Huyliver6793/brs_37/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Huyliver6793/brs_37/labels{/name}","releases_url":"https://api.github.com/repos/Huyliver6793/brs_37/releases{/id}","deployments_url":"https://api.github.com/repos/Huyliver6793/brs_37/deployments","created_at":"2016-09-29T00:44:31Z","updated_at":"2016-09-27T09:09:34Z","pushed_at":"2016-09-29T07:44:19Z","git_url":"git://github.com/Huyliver6793/brs_37.git","ssh_url":"git@github.com:Huyliver6793/brs_37.git","clone_url":"https://github.com/Huyliver6793/brs_37.git","svn_url":"https://github.com/Huyliver6793/brs_37","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"0d1143c1deb9ba4c4b010b0f9d9fe8b8d9408230","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":69339061,"name":"brs_37","full_name":"framgia/brs_37","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/brs_37","description":"Framgia Book Reviewing System (training)","fork":false,"url":"https://api.github.com/repos/framgia/brs_37","forks_url":"https://api.github.com/repos/framgia/brs_37/forks","keys_url":"https://api.github.com/repos/framgia/brs_37/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_37/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_37/teams","hooks_url":"https://api.github.com/repos/framgia/brs_37/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_37/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_37/events","assignees_url":"https://api.github.com/repos/framgia/brs_37/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_37/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_37/tags","blobs_url":"https://api.github.com/repos/framgia/brs_37/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_37/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_37/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_37/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_37/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_37/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_37/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_37/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_37/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_37/subscription","commits_url":"https://api.github.com/repos/framgia/brs_37/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_37/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_37/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_37/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_37/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_37/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_37/merges","archive_url":"https://api.github.com/repos/framgia/brs_37/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_37/downloads","issues_url":"https://api.github.com/repos/framgia/brs_37/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_37/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_37/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_37/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_37/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_37/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/brs_37/deployments","created_at":"2016-09-27T09:09:34Z","updated_at":"2016-09-27T09:09:34Z","pushed_at":"2016-09-29T07:44:19Z","git_url":"git://github.com/framgia/brs_37.git","ssh_url":"git@github.com:framgia/brs_37.git","clone_url":"https://github.com/framgia/brs_37.git","svn_url":"https://github.com/framgia/brs_37","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_37/pulls/6"},"html":{"href":"https://github.com/framgia/brs_37/pull/6"},"issue":{"href":"https://api.github.com/repos/framgia/brs_37/issues/6"},"comments":{"href":"https://api.github.com/repos/framgia/brs_37/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_37/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_37/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_37/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_37/statuses/86d16d6fe3df516506387e0d26ef7c52301feef5"}}}}
{"actor":{"display_login":"hellovietnam93"}}