{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_31/pulls/comments/74011174","id":74011174,"diff_hunk":"@@ -0,0 +1,5 @@\n+class Review < ApplicationRecord\n+  belongs_to :user\n+  belongs_to :book\n+  has_many :comments, dependent: :destroy","path":"app/models/review.rb","position":4,"original_position":4,"commit_id":"35b2fd9cf8aa20e3aef388e0c33a0c6777c22b8f","original_commit_id":"35b2fd9cf8aa20e3aef388e0c33a0c6777c22b8f","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":"tách blog ra ","created_at":"2016-08-09T07:37:25Z","updated_at":"2016-08-09T07:37:25Z","html_url":"https://github.com/framgia/brs_31/pull/2#discussion_r74011174","pull_request_url":"https://api.github.com/repos/framgia/brs_31/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_31/pulls/comments/74011174"},"html":{"href":"https://github.com/framgia/brs_31/pull/2#discussion_r74011174"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_31/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_31/pulls/2","id":80368219,"html_url":"https://github.com/framgia/brs_31/pull/2","diff_url":"https://github.com/framgia/brs_31/pull/2.diff","patch_url":"https://github.com/framgia/brs_31/pull/2.patch","issue_url":"https://api.github.com/repos/framgia/brs_31/issues/2","number":2,"state":"open","locked":false,"title":"Init model and relation","user":{"login":"VicTran","id":14592600,"avatar_url":"https://avatars.githubusercontent.com/u/14592600?v=3","gravatar_id":"","url":"https://api.github.com/users/VicTran","html_url":"https://github.com/VicTran","followers_url":"https://api.github.com/users/VicTran/followers","following_url":"https://api.github.com/users/VicTran/following{/other_user}","gists_url":"https://api.github.com/users/VicTran/gists{/gist_id}","starred_url":"https://api.github.com/users/VicTran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VicTran/subscriptions","organizations_url":"https://api.github.com/users/VicTran/orgs","repos_url":"https://api.github.com/users/VicTran/repos","events_url":"https://api.github.com/users/VicTran/events{/privacy}","received_events_url":"https://api.github.com/users/VicTran/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-07T14:19:19Z","updated_at":"2016-08-09T07:37:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f5a7bcd82042ef40e438d4bc306426a65f4133f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_31/pulls/2/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_31/pulls/2/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_31/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_31/issues/2/comments","statuses_url":"https://api.github.com/repos/framgia/brs_31/statuses/35b2fd9cf8aa20e3aef388e0c33a0c6777c22b8f","head":{"label":"VicTran:init_model","ref":"init_model","sha":"35b2fd9cf8aa20e3aef388e0c33a0c6777c22b8f","user":{"login":"VicTran","id":14592600,"avatar_url":"https://avatars.githubusercontent.com/u/14592600?v=3","gravatar_id":"","url":"https://api.github.com/users/VicTran","html_url":"https://github.com/VicTran","followers_url":"https://api.github.com/users/VicTran/followers","following_url":"https://api.github.com/users/VicTran/following{/other_user}","gists_url":"https://api.github.com/users/VicTran/gists{/gist_id}","starred_url":"https://api.github.com/users/VicTran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VicTran/subscriptions","organizations_url":"https://api.github.com/users/VicTran/orgs","repos_url":"https://api.github.com/users/VicTran/repos","events_url":"https://api.github.com/users/VicTran/events{/privacy}","received_events_url":"https://api.github.com/users/VicTran/received_events","type":"User","site_admin":false},"repo":{"id":64984598,"name":"brs_31","full_name":"VicTran/brs_31","owner":{"login":"VicTran","id":14592600,"avatar_url":"https://avatars.githubusercontent.com/u/14592600?v=3","gravatar_id":"","url":"https://api.github.com/users/VicTran","html_url":"https://github.com/VicTran","followers_url":"https://api.github.com/users/VicTran/followers","following_url":"https://api.github.com/users/VicTran/following{/other_user}","gists_url":"https://api.github.com/users/VicTran/gists{/gist_id}","starred_url":"https://api.github.com/users/VicTran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VicTran/subscriptions","organizations_url":"https://api.github.com/users/VicTran/orgs","repos_url":"https://api.github.com/users/VicTran/repos","events_url":"https://api.github.com/users/VicTran/events{/privacy}","received_events_url":"https://api.github.com/users/VicTran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VicTran/brs_31","description":"Framgia Book Reviewing System (training)","fork":true,"url":"https://api.github.com/repos/VicTran/brs_31","forks_url":"https://api.github.com/repos/VicTran/brs_31/forks","keys_url":"https://api.github.com/repos/VicTran/brs_31/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VicTran/brs_31/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VicTran/brs_31/teams","hooks_url":"https://api.github.com/repos/VicTran/brs_31/hooks","issue_events_url":"https://api.github.com/repos/VicTran/brs_31/issues/events{/number}","events_url":"https://api.github.com/repos/VicTran/brs_31/events","assignees_url":"https://api.github.com/repos/VicTran/brs_31/assignees{/user}","branches_url":"https://api.github.com/repos/VicTran/brs_31/branches{/branch}","tags_url":"https://api.github.com/repos/VicTran/brs_31/tags","blobs_url":"https://api.github.com/repos/VicTran/brs_31/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VicTran/brs_31/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VicTran/brs_31/git/refs{/sha}","trees_url":"https://api.github.com/repos/VicTran/brs_31/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VicTran/brs_31/statuses/{sha}","languages_url":"https://api.github.com/repos/VicTran/brs_31/languages","stargazers_url":"https://api.github.com/repos/VicTran/brs_31/stargazers","contributors_url":"https://api.github.com/repos/VicTran/brs_31/contributors","subscribers_url":"https://api.github.com/repos/VicTran/brs_31/subscribers","subscription_url":"https://api.github.com/repos/VicTran/brs_31/subscription","commits_url":"https://api.github.com/repos/VicTran/brs_31/commits{/sha}","git_commits_url":"https://api.github.com/repos/VicTran/brs_31/git/commits{/sha}","comments_url":"https://api.github.com/repos/VicTran/brs_31/comments{/number}","issue_comment_url":"https://api.github.com/repos/VicTran/brs_31/issues/comments{/number}","contents_url":"https://api.github.com/repos/VicTran/brs_31/contents/{+path}","compare_url":"https://api.github.com/repos/VicTran/brs_31/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VicTran/brs_31/merges","archive_url":"https://api.github.com/repos/VicTran/brs_31/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VicTran/brs_31/downloads","issues_url":"https://api.github.com/repos/VicTran/brs_31/issues{/number}","pulls_url":"https://api.github.com/repos/VicTran/brs_31/pulls{/number}","milestones_url":"https://api.github.com/repos/VicTran/brs_31/milestones{/number}","notifications_url":"https://api.github.com/repos/VicTran/brs_31/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VicTran/brs_31/labels{/name}","releases_url":"https://api.github.com/repos/VicTran/brs_31/releases{/id}","deployments_url":"https://api.github.com/repos/VicTran/brs_31/deployments","created_at":"2016-08-05T03:07:58Z","updated_at":"2016-08-04T06:48:19Z","pushed_at":"2016-08-09T07:27:27Z","git_url":"git://github.com/VicTran/brs_31.git","ssh_url":"git@github.com:VicTran/brs_31.git","clone_url":"https://github.com/VicTran/brs_31.git","svn_url":"https://github.com/VicTran/brs_31","homepage":null,"size":28,"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":"c705b3ca00d71892095d690bac7452fce33e98c0","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":64909786,"name":"brs_31","full_name":"framgia/brs_31","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_31","description":"Framgia Book Reviewing System (training)","fork":false,"url":"https://api.github.com/repos/framgia/brs_31","forks_url":"https://api.github.com/repos/framgia/brs_31/forks","keys_url":"https://api.github.com/repos/framgia/brs_31/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_31/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_31/teams","hooks_url":"https://api.github.com/repos/framgia/brs_31/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_31/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_31/events","assignees_url":"https://api.github.com/repos/framgia/brs_31/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_31/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_31/tags","blobs_url":"https://api.github.com/repos/framgia/brs_31/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_31/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_31/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_31/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_31/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_31/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_31/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_31/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_31/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_31/subscription","commits_url":"https://api.github.com/repos/framgia/brs_31/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_31/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_31/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_31/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_31/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_31/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_31/merges","archive_url":"https://api.github.com/repos/framgia/brs_31/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_31/downloads","issues_url":"https://api.github.com/repos/framgia/brs_31/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_31/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_31/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_31/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_31/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_31/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/brs_31/deployments","created_at":"2016-08-04T06:48:19Z","updated_at":"2016-08-04T06:48:19Z","pushed_at":"2016-08-09T07:27:28Z","git_url":"git://github.com/framgia/brs_31.git","ssh_url":"git@github.com:framgia/brs_31.git","clone_url":"https://github.com/framgia/brs_31.git","svn_url":"https://github.com/framgia/brs_31","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_31/pulls/2"},"html":{"href":"https://github.com/framgia/brs_31/pull/2"},"issue":{"href":"https://api.github.com/repos/framgia/brs_31/issues/2"},"comments":{"href":"https://api.github.com/repos/framgia/brs_31/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_31/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_31/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_31/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_31/statuses/35b2fd9cf8aa20e3aef388e0c33a0c6777c22b8f"}}}}
{"actor":{"display_login":"hellovietnam93"}}