{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_146/pulls/comments/67830012","id":67830012,"diff_hunk":"@@ -0,0 +1,4 @@\n+class Relationship < ActiveRecord::Base\n+  belongs_to :follower, class_name: \"User\"","path":"app/models/relationship.rb","position":2,"original_position":2,"commit_id":"2a950529fb15499cb7b7c07849db4e2e6730fc0a","original_commit_id":"2a950529fb15499cb7b7c07849db4e2e6730fc0a","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"```\r\n +  belongs_to :follower, class_name: User.name\r\n +  belongs_to :followed, class_name: User.name\r\n```","created_at":"2016-06-21T08:48:44Z","updated_at":"2016-06-21T08:48:44Z","html_url":"https://github.com/framgia/fels_146/pull/1#discussion_r67830012","pull_request_url":"https://api.github.com/repos/framgia/fels_146/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/comments/67830012"},"html":{"href":"https://github.com/framgia/fels_146/pull/1#discussion_r67830012"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_146/pulls/1","id":74567602,"html_url":"https://github.com/framgia/fels_146/pull/1","diff_url":"https://github.com/framgia/fels_146/pull/1.diff","patch_url":"https://github.com/framgia/fels_146/pull/1.patch","issue_url":"https://api.github.com/repos/framgia/fels_146/issues/1","number":1,"state":"open","locked":false,"title":"Init model and relationship","user":{"login":"nguyenluc312","id":19769129,"avatar_url":"https://avatars.githubusercontent.com/u/19769129?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenluc312","html_url":"https://github.com/nguyenluc312","followers_url":"https://api.github.com/users/nguyenluc312/followers","following_url":"https://api.github.com/users/nguyenluc312/following{/other_user}","gists_url":"https://api.github.com/users/nguyenluc312/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenluc312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenluc312/subscriptions","organizations_url":"https://api.github.com/users/nguyenluc312/orgs","repos_url":"https://api.github.com/users/nguyenluc312/repos","events_url":"https://api.github.com/users/nguyenluc312/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenluc312/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-21T08:09:33Z","updated_at":"2016-06-21T08:48:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"233ecda8065a8970bb12e8f80540880422d6bf2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_146/pulls/1/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_146/pulls/1/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_146/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_146/issues/1/comments","statuses_url":"https://api.github.com/repos/framgia/fels_146/statuses/2a950529fb15499cb7b7c07849db4e2e6730fc0a","head":{"label":"nguyenluc312:init-model-and-relationship","ref":"init-model-and-relationship","sha":"2a950529fb15499cb7b7c07849db4e2e6730fc0a","user":{"login":"nguyenluc312","id":19769129,"avatar_url":"https://avatars.githubusercontent.com/u/19769129?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenluc312","html_url":"https://github.com/nguyenluc312","followers_url":"https://api.github.com/users/nguyenluc312/followers","following_url":"https://api.github.com/users/nguyenluc312/following{/other_user}","gists_url":"https://api.github.com/users/nguyenluc312/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenluc312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenluc312/subscriptions","organizations_url":"https://api.github.com/users/nguyenluc312/orgs","repos_url":"https://api.github.com/users/nguyenluc312/repos","events_url":"https://api.github.com/users/nguyenluc312/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenluc312/received_events","type":"User","site_admin":false},"repo":{"id":61564437,"name":"fels_146","full_name":"nguyenluc312/fels_146","owner":{"login":"nguyenluc312","id":19769129,"avatar_url":"https://avatars.githubusercontent.com/u/19769129?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenluc312","html_url":"https://github.com/nguyenluc312","followers_url":"https://api.github.com/users/nguyenluc312/followers","following_url":"https://api.github.com/users/nguyenluc312/following{/other_user}","gists_url":"https://api.github.com/users/nguyenluc312/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenluc312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenluc312/subscriptions","organizations_url":"https://api.github.com/users/nguyenluc312/orgs","repos_url":"https://api.github.com/users/nguyenluc312/repos","events_url":"https://api.github.com/users/nguyenluc312/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenluc312/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenluc312/fels_146","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/nguyenluc312/fels_146","forks_url":"https://api.github.com/repos/nguyenluc312/fels_146/forks","keys_url":"https://api.github.com/repos/nguyenluc312/fels_146/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenluc312/fels_146/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenluc312/fels_146/teams","hooks_url":"https://api.github.com/repos/nguyenluc312/fels_146/hooks","issue_events_url":"https://api.github.com/repos/nguyenluc312/fels_146/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenluc312/fels_146/events","assignees_url":"https://api.github.com/repos/nguyenluc312/fels_146/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenluc312/fels_146/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenluc312/fels_146/tags","blobs_url":"https://api.github.com/repos/nguyenluc312/fels_146/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenluc312/fels_146/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenluc312/fels_146/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenluc312/fels_146/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenluc312/fels_146/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenluc312/fels_146/languages","stargazers_url":"https://api.github.com/repos/nguyenluc312/fels_146/stargazers","contributors_url":"https://api.github.com/repos/nguyenluc312/fels_146/contributors","subscribers_url":"https://api.github.com/repos/nguyenluc312/fels_146/subscribers","subscription_url":"https://api.github.com/repos/nguyenluc312/fels_146/subscription","commits_url":"https://api.github.com/repos/nguyenluc312/fels_146/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenluc312/fels_146/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenluc312/fels_146/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenluc312/fels_146/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenluc312/fels_146/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenluc312/fels_146/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenluc312/fels_146/merges","archive_url":"https://api.github.com/repos/nguyenluc312/fels_146/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenluc312/fels_146/downloads","issues_url":"https://api.github.com/repos/nguyenluc312/fels_146/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenluc312/fels_146/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenluc312/fels_146/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenluc312/fels_146/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenluc312/fels_146/labels{/name}","releases_url":"https://api.github.com/repos/nguyenluc312/fels_146/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenluc312/fels_146/deployments","created_at":"2016-06-20T16:50:22Z","updated_at":"2016-06-20T05:54:01Z","pushed_at":"2016-06-21T08:31:36Z","git_url":"git://github.com/nguyenluc312/fels_146.git","ssh_url":"git@github.com:nguyenluc312/fels_146.git","clone_url":"https://github.com/nguyenluc312/fels_146.git","svn_url":"https://github.com/nguyenluc312/fels_146","homepage":null,"size":20,"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":"df619c5a8bac74bde373dcb1aebced978a2dcc2f","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":61520364,"name":"fels_146","full_name":"framgia/fels_146","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/fels_146","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_146","forks_url":"https://api.github.com/repos/framgia/fels_146/forks","keys_url":"https://api.github.com/repos/framgia/fels_146/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_146/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_146/teams","hooks_url":"https://api.github.com/repos/framgia/fels_146/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_146/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_146/events","assignees_url":"https://api.github.com/repos/framgia/fels_146/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_146/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_146/tags","blobs_url":"https://api.github.com/repos/framgia/fels_146/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_146/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_146/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_146/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_146/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_146/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_146/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_146/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_146/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_146/subscription","commits_url":"https://api.github.com/repos/framgia/fels_146/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_146/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_146/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_146/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_146/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_146/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_146/merges","archive_url":"https://api.github.com/repos/framgia/fels_146/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_146/downloads","issues_url":"https://api.github.com/repos/framgia/fels_146/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_146/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_146/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_146/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_146/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_146/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_146/deployments","created_at":"2016-06-20T05:54:01Z","updated_at":"2016-06-20T05:54:01Z","pushed_at":"2016-06-21T08:31:36Z","git_url":"git://github.com/framgia/fels_146.git","ssh_url":"git@github.com:framgia/fels_146.git","clone_url":"https://github.com/framgia/fels_146.git","svn_url":"https://github.com/framgia/fels_146","homepage":null,"size":16,"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":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/1"},"html":{"href":"https://github.com/framgia/fels_146/pull/1"},"issue":{"href":"https://api.github.com/repos/framgia/fels_146/issues/1"},"comments":{"href":"https://api.github.com/repos/framgia/fels_146/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_146/statuses/2a950529fb15499cb7b7c07849db4e2e6730fc0a"}}}}
{"actor":{"display_login":"dieunb"}}