{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_55/pulls/comments/63150552","id":63150552,"diff_hunk":"@@ -0,0 +1,7 @@\n+module UsersHelper\n+ def gravatar_for user\n+    gravatar_id = Digest::MD5::hexdigest(user.email.downcase)","path":"app/helpers/users_helper.rb","position":3,"original_position":3,"commit_id":"c98c2bc81c2481127c7488d5b6b75e7ae72f8419","original_commit_id":"c98c2bc81c2481127c7488d5b6b75e7ae72f8419","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":"bỏ ()","created_at":"2016-05-13T08:44:16Z","updated_at":"2016-05-13T08:44:16Z","html_url":"https://github.com/framgia/tms_55/pull/3#discussion_r63150552","pull_request_url":"https://api.github.com/repos/framgia/tms_55/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_55/pulls/comments/63150552"},"html":{"href":"https://github.com/framgia/tms_55/pull/3#discussion_r63150552"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_55/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_55/pulls/3","id":69805679,"html_url":"https://github.com/framgia/tms_55/pull/3","diff_url":"https://github.com/framgia/tms_55/pull/3.diff","patch_url":"https://github.com/framgia/tms_55/pull/3.patch","issue_url":"https://api.github.com/repos/framgia/tms_55/issues/3","number":3,"state":"open","locked":false,"title":"code behind login-logout","user":{"login":"hangxuka","id":18544631,"avatar_url":"https://avatars.githubusercontent.com/u/18544631?v=3","gravatar_id":"","url":"https://api.github.com/users/hangxuka","html_url":"https://github.com/hangxuka","followers_url":"https://api.github.com/users/hangxuka/followers","following_url":"https://api.github.com/users/hangxuka/following{/other_user}","gists_url":"https://api.github.com/users/hangxuka/gists{/gist_id}","starred_url":"https://api.github.com/users/hangxuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangxuka/subscriptions","organizations_url":"https://api.github.com/users/hangxuka/orgs","repos_url":"https://api.github.com/users/hangxuka/repos","events_url":"https://api.github.com/users/hangxuka/events{/privacy}","received_events_url":"https://api.github.com/users/hangxuka/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-12T09:33:03Z","updated_at":"2016-05-13T08:44:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d2f943e50131adca1c0dc3a1b2133c13474af9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_55/pulls/3/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_55/pulls/3/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_55/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_55/issues/3/comments","statuses_url":"https://api.github.com/repos/framgia/tms_55/statuses/c98c2bc81c2481127c7488d5b6b75e7ae72f8419","head":{"label":"hangxuka:login","ref":"login","sha":"c98c2bc81c2481127c7488d5b6b75e7ae72f8419","user":{"login":"hangxuka","id":18544631,"avatar_url":"https://avatars.githubusercontent.com/u/18544631?v=3","gravatar_id":"","url":"https://api.github.com/users/hangxuka","html_url":"https://github.com/hangxuka","followers_url":"https://api.github.com/users/hangxuka/followers","following_url":"https://api.github.com/users/hangxuka/following{/other_user}","gists_url":"https://api.github.com/users/hangxuka/gists{/gist_id}","starred_url":"https://api.github.com/users/hangxuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangxuka/subscriptions","organizations_url":"https://api.github.com/users/hangxuka/orgs","repos_url":"https://api.github.com/users/hangxuka/repos","events_url":"https://api.github.com/users/hangxuka/events{/privacy}","received_events_url":"https://api.github.com/users/hangxuka/received_events","type":"User","site_admin":false},"repo":{"id":58596167,"name":"tms_55","full_name":"hangxuka/tms_55","owner":{"login":"hangxuka","id":18544631,"avatar_url":"https://avatars.githubusercontent.com/u/18544631?v=3","gravatar_id":"","url":"https://api.github.com/users/hangxuka","html_url":"https://github.com/hangxuka","followers_url":"https://api.github.com/users/hangxuka/followers","following_url":"https://api.github.com/users/hangxuka/following{/other_user}","gists_url":"https://api.github.com/users/hangxuka/gists{/gist_id}","starred_url":"https://api.github.com/users/hangxuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangxuka/subscriptions","organizations_url":"https://api.github.com/users/hangxuka/orgs","repos_url":"https://api.github.com/users/hangxuka/repos","events_url":"https://api.github.com/users/hangxuka/events{/privacy}","received_events_url":"https://api.github.com/users/hangxuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hangxuka/tms_55","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/hangxuka/tms_55","forks_url":"https://api.github.com/repos/hangxuka/tms_55/forks","keys_url":"https://api.github.com/repos/hangxuka/tms_55/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hangxuka/tms_55/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hangxuka/tms_55/teams","hooks_url":"https://api.github.com/repos/hangxuka/tms_55/hooks","issue_events_url":"https://api.github.com/repos/hangxuka/tms_55/issues/events{/number}","events_url":"https://api.github.com/repos/hangxuka/tms_55/events","assignees_url":"https://api.github.com/repos/hangxuka/tms_55/assignees{/user}","branches_url":"https://api.github.com/repos/hangxuka/tms_55/branches{/branch}","tags_url":"https://api.github.com/repos/hangxuka/tms_55/tags","blobs_url":"https://api.github.com/repos/hangxuka/tms_55/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hangxuka/tms_55/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hangxuka/tms_55/git/refs{/sha}","trees_url":"https://api.github.com/repos/hangxuka/tms_55/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hangxuka/tms_55/statuses/{sha}","languages_url":"https://api.github.com/repos/hangxuka/tms_55/languages","stargazers_url":"https://api.github.com/repos/hangxuka/tms_55/stargazers","contributors_url":"https://api.github.com/repos/hangxuka/tms_55/contributors","subscribers_url":"https://api.github.com/repos/hangxuka/tms_55/subscribers","subscription_url":"https://api.github.com/repos/hangxuka/tms_55/subscription","commits_url":"https://api.github.com/repos/hangxuka/tms_55/commits{/sha}","git_commits_url":"https://api.github.com/repos/hangxuka/tms_55/git/commits{/sha}","comments_url":"https://api.github.com/repos/hangxuka/tms_55/comments{/number}","issue_comment_url":"https://api.github.com/repos/hangxuka/tms_55/issues/comments{/number}","contents_url":"https://api.github.com/repos/hangxuka/tms_55/contents/{+path}","compare_url":"https://api.github.com/repos/hangxuka/tms_55/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hangxuka/tms_55/merges","archive_url":"https://api.github.com/repos/hangxuka/tms_55/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hangxuka/tms_55/downloads","issues_url":"https://api.github.com/repos/hangxuka/tms_55/issues{/number}","pulls_url":"https://api.github.com/repos/hangxuka/tms_55/pulls{/number}","milestones_url":"https://api.github.com/repos/hangxuka/tms_55/milestones{/number}","notifications_url":"https://api.github.com/repos/hangxuka/tms_55/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hangxuka/tms_55/labels{/name}","releases_url":"https://api.github.com/repos/hangxuka/tms_55/releases{/id}","deployments_url":"https://api.github.com/repos/hangxuka/tms_55/deployments","created_at":"2016-05-12T01:20:26Z","updated_at":"2016-05-11T06:20:34Z","pushed_at":"2016-05-13T08:41:23Z","git_url":"git://github.com/hangxuka/tms_55.git","ssh_url":"git@github.com:hangxuka/tms_55.git","clone_url":"https://github.com/hangxuka/tms_55.git","svn_url":"https://github.com/hangxuka/tms_55","homepage":null,"size":43,"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":"0602153bac484add482bd4c2cd47d8b1503fdaf7","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":58519189,"name":"tms_55","full_name":"framgia/tms_55","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/tms_55","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_55","forks_url":"https://api.github.com/repos/framgia/tms_55/forks","keys_url":"https://api.github.com/repos/framgia/tms_55/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_55/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_55/teams","hooks_url":"https://api.github.com/repos/framgia/tms_55/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_55/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_55/events","assignees_url":"https://api.github.com/repos/framgia/tms_55/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_55/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_55/tags","blobs_url":"https://api.github.com/repos/framgia/tms_55/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_55/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_55/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_55/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_55/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_55/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_55/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_55/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_55/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_55/subscription","commits_url":"https://api.github.com/repos/framgia/tms_55/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_55/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_55/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_55/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_55/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_55/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_55/merges","archive_url":"https://api.github.com/repos/framgia/tms_55/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_55/downloads","issues_url":"https://api.github.com/repos/framgia/tms_55/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_55/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_55/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_55/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_55/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_55/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/tms_55/deployments","created_at":"2016-05-11T06:20:34Z","updated_at":"2016-05-11T06:20:34Z","pushed_at":"2016-05-13T08:41:24Z","git_url":"git://github.com/framgia/tms_55.git","ssh_url":"git@github.com:framgia/tms_55.git","clone_url":"https://github.com/framgia/tms_55.git","svn_url":"https://github.com/framgia/tms_55","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_55/pulls/3"},"html":{"href":"https://github.com/framgia/tms_55/pull/3"},"issue":{"href":"https://api.github.com/repos/framgia/tms_55/issues/3"},"comments":{"href":"https://api.github.com/repos/framgia/tms_55/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_55/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_55/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_55/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_55/statuses/c98c2bc81c2481127c7488d5b6b75e7ae72f8419"}}}}