{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_39/pulls/comments/25404117","id":25404117,"diff_hunk":"@@ -0,0 +1,5 @@\n+<%= form_for(current_user.active_relationships.find_by(followed_id: @user.id),","path":"app/views/users/_unfollow.html.erb","position":1,"original_position":1,"commit_id":"0142c89698867a7a07b913cffec80e8ce7f5c95c","original_commit_id":"0142c89698867a7a07b913cffec80e8ce7f5c95c","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":"move to controller \r\n```\r\ncurrent_user.active_relationships.find_by(followed_id: @user.id)\r\n```","created_at":"2015-02-26T04:27:22Z","updated_at":"2015-02-26T04:27:22Z","html_url":"https://github.com/framgia/fels_39/pull/8#discussion_r25404117","pull_request_url":"https://api.github.com/repos/framgia/fels_39/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_39/pulls/comments/25404117"},"html":{"href":"https://github.com/framgia/fels_39/pull/8#discussion_r25404117"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_39/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_39/pulls/8","id":29078027,"html_url":"https://github.com/framgia/fels_39/pull/8","diff_url":"https://github.com/framgia/fels_39/pull/8.diff","patch_url":"https://github.com/framgia/fels_39/pull/8.patch","issue_url":"https://api.github.com/repos/framgia/fels_39/issues/8","number":8,"state":"open","locked":false,"title":"finish follow for user","user":{"login":"VoTaiTri","id":10524856,"avatar_url":"https://avatars.githubusercontent.com/u/10524856?v=3","gravatar_id":"","url":"https://api.github.com/users/VoTaiTri","html_url":"https://github.com/VoTaiTri","followers_url":"https://api.github.com/users/VoTaiTri/followers","following_url":"https://api.github.com/users/VoTaiTri/following{/other_user}","gists_url":"https://api.github.com/users/VoTaiTri/gists{/gist_id}","starred_url":"https://api.github.com/users/VoTaiTri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoTaiTri/subscriptions","organizations_url":"https://api.github.com/users/VoTaiTri/orgs","repos_url":"https://api.github.com/users/VoTaiTri/repos","events_url":"https://api.github.com/users/VoTaiTri/events{/privacy}","received_events_url":"https://api.github.com/users/VoTaiTri/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-11T09:49:04Z","updated_at":"2015-02-26T04:27:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b88d963ae793e7de79e04e7783227b2a4d760d97","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_39/pulls/8/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_39/pulls/8/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_39/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_39/issues/8/comments","statuses_url":"https://api.github.com/repos/framgia/fels_39/statuses/0142c89698867a7a07b913cffec80e8ce7f5c95c","head":{"label":"VoTaiTri:follow-user","ref":"follow-user","sha":"0142c89698867a7a07b913cffec80e8ce7f5c95c","user":{"login":"VoTaiTri","id":10524856,"avatar_url":"https://avatars.githubusercontent.com/u/10524856?v=3","gravatar_id":"","url":"https://api.github.com/users/VoTaiTri","html_url":"https://github.com/VoTaiTri","followers_url":"https://api.github.com/users/VoTaiTri/followers","following_url":"https://api.github.com/users/VoTaiTri/following{/other_user}","gists_url":"https://api.github.com/users/VoTaiTri/gists{/gist_id}","starred_url":"https://api.github.com/users/VoTaiTri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoTaiTri/subscriptions","organizations_url":"https://api.github.com/users/VoTaiTri/orgs","repos_url":"https://api.github.com/users/VoTaiTri/repos","events_url":"https://api.github.com/users/VoTaiTri/events{/privacy}","received_events_url":"https://api.github.com/users/VoTaiTri/received_events","type":"User","site_admin":false},"repo":{"id":30331128,"name":"fels_39","full_name":"VoTaiTri/fels_39","owner":{"login":"VoTaiTri","id":10524856,"avatar_url":"https://avatars.githubusercontent.com/u/10524856?v=3","gravatar_id":"","url":"https://api.github.com/users/VoTaiTri","html_url":"https://github.com/VoTaiTri","followers_url":"https://api.github.com/users/VoTaiTri/followers","following_url":"https://api.github.com/users/VoTaiTri/following{/other_user}","gists_url":"https://api.github.com/users/VoTaiTri/gists{/gist_id}","starred_url":"https://api.github.com/users/VoTaiTri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoTaiTri/subscriptions","organizations_url":"https://api.github.com/users/VoTaiTri/orgs","repos_url":"https://api.github.com/users/VoTaiTri/repos","events_url":"https://api.github.com/users/VoTaiTri/events{/privacy}","received_events_url":"https://api.github.com/users/VoTaiTri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VoTaiTri/fels_39","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/VoTaiTri/fels_39","forks_url":"https://api.github.com/repos/VoTaiTri/fels_39/forks","keys_url":"https://api.github.com/repos/VoTaiTri/fels_39/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VoTaiTri/fels_39/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VoTaiTri/fels_39/teams","hooks_url":"https://api.github.com/repos/VoTaiTri/fels_39/hooks","issue_events_url":"https://api.github.com/repos/VoTaiTri/fels_39/issues/events{/number}","events_url":"https://api.github.com/repos/VoTaiTri/fels_39/events","assignees_url":"https://api.github.com/repos/VoTaiTri/fels_39/assignees{/user}","branches_url":"https://api.github.com/repos/VoTaiTri/fels_39/branches{/branch}","tags_url":"https://api.github.com/repos/VoTaiTri/fels_39/tags","blobs_url":"https://api.github.com/repos/VoTaiTri/fels_39/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VoTaiTri/fels_39/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VoTaiTri/fels_39/git/refs{/sha}","trees_url":"https://api.github.com/repos/VoTaiTri/fels_39/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VoTaiTri/fels_39/statuses/{sha}","languages_url":"https://api.github.com/repos/VoTaiTri/fels_39/languages","stargazers_url":"https://api.github.com/repos/VoTaiTri/fels_39/stargazers","contributors_url":"https://api.github.com/repos/VoTaiTri/fels_39/contributors","subscribers_url":"https://api.github.com/repos/VoTaiTri/fels_39/subscribers","subscription_url":"https://api.github.com/repos/VoTaiTri/fels_39/subscription","commits_url":"https://api.github.com/repos/VoTaiTri/fels_39/commits{/sha}","git_commits_url":"https://api.github.com/repos/VoTaiTri/fels_39/git/commits{/sha}","comments_url":"https://api.github.com/repos/VoTaiTri/fels_39/comments{/number}","issue_comment_url":"https://api.github.com/repos/VoTaiTri/fels_39/issues/comments{/number}","contents_url":"https://api.github.com/repos/VoTaiTri/fels_39/contents/{+path}","compare_url":"https://api.github.com/repos/VoTaiTri/fels_39/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VoTaiTri/fels_39/merges","archive_url":"https://api.github.com/repos/VoTaiTri/fels_39/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VoTaiTri/fels_39/downloads","issues_url":"https://api.github.com/repos/VoTaiTri/fels_39/issues{/number}","pulls_url":"https://api.github.com/repos/VoTaiTri/fels_39/pulls{/number}","milestones_url":"https://api.github.com/repos/VoTaiTri/fels_39/milestones{/number}","notifications_url":"https://api.github.com/repos/VoTaiTri/fels_39/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VoTaiTri/fels_39/labels{/name}","releases_url":"https://api.github.com/repos/VoTaiTri/fels_39/releases{/id}","created_at":"2015-02-05T01:27:54Z","updated_at":"2015-01-24T12:03:52Z","pushed_at":"2015-02-26T04:16:53Z","git_url":"git://github.com/VoTaiTri/fels_39.git","ssh_url":"git@github.com:VoTaiTri/fels_39.git","clone_url":"https://github.com/VoTaiTri/fels_39.git","svn_url":"https://github.com/VoTaiTri/fels_39","homepage":null,"size":232,"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":"9f8f3606691cc5abc7b68e4e09163197cb8603c5","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":29775238,"name":"fels_39","full_name":"framgia/fels_39","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_39","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_39","forks_url":"https://api.github.com/repos/framgia/fels_39/forks","keys_url":"https://api.github.com/repos/framgia/fels_39/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_39/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_39/teams","hooks_url":"https://api.github.com/repos/framgia/fels_39/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_39/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_39/events","assignees_url":"https://api.github.com/repos/framgia/fels_39/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_39/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_39/tags","blobs_url":"https://api.github.com/repos/framgia/fels_39/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_39/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_39/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_39/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_39/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_39/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_39/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_39/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_39/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_39/subscription","commits_url":"https://api.github.com/repos/framgia/fels_39/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_39/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_39/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_39/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_39/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_39/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_39/merges","archive_url":"https://api.github.com/repos/framgia/fels_39/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_39/downloads","issues_url":"https://api.github.com/repos/framgia/fels_39/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_39/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_39/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_39/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_39/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_39/releases{/id}","created_at":"2015-01-24T12:03:52Z","updated_at":"2015-01-24T12:03:52Z","pushed_at":"2015-02-25T05:52:15Z","git_url":"git://github.com/framgia/fels_39.git","ssh_url":"git@github.com:framgia/fels_39.git","clone_url":"https://github.com/framgia/fels_39.git","svn_url":"https://github.com/framgia/fels_39","homepage":null,"size":314,"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_39/pulls/8"},"html":{"href":"https://github.com/framgia/fels_39/pull/8"},"issue":{"href":"https://api.github.com/repos/framgia/fels_39/issues/8"},"comments":{"href":"https://api.github.com/repos/framgia/fels_39/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_39/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_39/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_39/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_39/statuses/0142c89698867a7a07b913cffec80e8ce7f5c95c"}}}}