{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_181/pulls/comments/76587462","id":76587462,"diff_hunk":"@@ -2,6 +2,7 @@ class User < ActiveRecord::Base\n   has_many :relationships\n   has_many :lessons\n \n+  before_save { self.email = email.downcase }","path":"app/models/user.rb","position":4,"original_position":4,"commit_id":"ad08116bcf954f477d71597f615a2c5bc9386ec6","original_commit_id":"ad08116bcf954f477d71597f615a2c5bc9386ec6","user":{"login":"thangtx88","id":18256324,"avatar_url":"https://avatars.githubusercontent.com/u/18256324?v=3","gravatar_id":"","url":"https://api.github.com/users/thangtx88","html_url":"https://github.com/thangtx88","followers_url":"https://api.github.com/users/thangtx88/followers","following_url":"https://api.github.com/users/thangtx88/following{/other_user}","gists_url":"https://api.github.com/users/thangtx88/gists{/gist_id}","starred_url":"https://api.github.com/users/thangtx88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thangtx88/subscriptions","organizations_url":"https://api.github.com/users/thangtx88/orgs","repos_url":"https://api.github.com/users/thangtx88/repos","events_url":"https://api.github.com/users/thangtx88/events{/privacy}","received_events_url":"https://api.github.com/users/thangtx88/received_events","type":"User","site_admin":false},"body":"remove space after \"{\" , remove space before \"}\"","created_at":"2016-08-29T10:45:20Z","updated_at":"2016-08-29T10:45:20Z","html_url":"https://github.com/framgia/fels_181/pull/6#discussion_r76587462","pull_request_url":"https://api.github.com/repos/framgia/fels_181/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_181/pulls/comments/76587462"},"html":{"href":"https://github.com/framgia/fels_181/pull/6#discussion_r76587462"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_181/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_181/pulls/6","id":83076963,"html_url":"https://github.com/framgia/fels_181/pull/6","diff_url":"https://github.com/framgia/fels_181/pull/6.diff","patch_url":"https://github.com/framgia/fels_181/pull/6.patch","issue_url":"https://api.github.com/repos/framgia/fels_181/issues/6","number":6,"state":"open","locked":false,"title":"signup","user":{"login":"longnv5994","id":17397401,"avatar_url":"https://avatars.githubusercontent.com/u/17397401?v=3","gravatar_id":"","url":"https://api.github.com/users/longnv5994","html_url":"https://github.com/longnv5994","followers_url":"https://api.github.com/users/longnv5994/followers","following_url":"https://api.github.com/users/longnv5994/following{/other_user}","gists_url":"https://api.github.com/users/longnv5994/gists{/gist_id}","starred_url":"https://api.github.com/users/longnv5994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longnv5994/subscriptions","organizations_url":"https://api.github.com/users/longnv5994/orgs","repos_url":"https://api.github.com/users/longnv5994/repos","events_url":"https://api.github.com/users/longnv5994/events{/privacy}","received_events_url":"https://api.github.com/users/longnv5994/received_events","type":"User","site_admin":false},"body":"signup","created_at":"2016-08-29T10:26:03Z","updated_at":"2016-08-29T10:45:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"678c5ec5cf8c4e77a74380c755b4d7533165c51a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_181/pulls/6/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_181/pulls/6/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_181/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_181/issues/6/comments","statuses_url":"https://api.github.com/repos/framgia/fels_181/statuses/ad08116bcf954f477d71597f615a2c5bc9386ec6","head":{"label":"longnv5994:new-sign-up","ref":"new-sign-up","sha":"ad08116bcf954f477d71597f615a2c5bc9386ec6","user":{"login":"longnv5994","id":17397401,"avatar_url":"https://avatars.githubusercontent.com/u/17397401?v=3","gravatar_id":"","url":"https://api.github.com/users/longnv5994","html_url":"https://github.com/longnv5994","followers_url":"https://api.github.com/users/longnv5994/followers","following_url":"https://api.github.com/users/longnv5994/following{/other_user}","gists_url":"https://api.github.com/users/longnv5994/gists{/gist_id}","starred_url":"https://api.github.com/users/longnv5994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longnv5994/subscriptions","organizations_url":"https://api.github.com/users/longnv5994/orgs","repos_url":"https://api.github.com/users/longnv5994/repos","events_url":"https://api.github.com/users/longnv5994/events{/privacy}","received_events_url":"https://api.github.com/users/longnv5994/received_events","type":"User","site_admin":false},"repo":{"id":66695829,"name":"fels_181","full_name":"longnv5994/fels_181","owner":{"login":"longnv5994","id":17397401,"avatar_url":"https://avatars.githubusercontent.com/u/17397401?v=3","gravatar_id":"","url":"https://api.github.com/users/longnv5994","html_url":"https://github.com/longnv5994","followers_url":"https://api.github.com/users/longnv5994/followers","following_url":"https://api.github.com/users/longnv5994/following{/other_user}","gists_url":"https://api.github.com/users/longnv5994/gists{/gist_id}","starred_url":"https://api.github.com/users/longnv5994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longnv5994/subscriptions","organizations_url":"https://api.github.com/users/longnv5994/orgs","repos_url":"https://api.github.com/users/longnv5994/repos","events_url":"https://api.github.com/users/longnv5994/events{/privacy}","received_events_url":"https://api.github.com/users/longnv5994/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/longnv5994/fels_181","description":"Framgia E Learning System (Training)","fork":true,"url":"https://api.github.com/repos/longnv5994/fels_181","forks_url":"https://api.github.com/repos/longnv5994/fels_181/forks","keys_url":"https://api.github.com/repos/longnv5994/fels_181/keys{/key_id}","collaborators_url":"https://api.github.com/repos/longnv5994/fels_181/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/longnv5994/fels_181/teams","hooks_url":"https://api.github.com/repos/longnv5994/fels_181/hooks","issue_events_url":"https://api.github.com/repos/longnv5994/fels_181/issues/events{/number}","events_url":"https://api.github.com/repos/longnv5994/fels_181/events","assignees_url":"https://api.github.com/repos/longnv5994/fels_181/assignees{/user}","branches_url":"https://api.github.com/repos/longnv5994/fels_181/branches{/branch}","tags_url":"https://api.github.com/repos/longnv5994/fels_181/tags","blobs_url":"https://api.github.com/repos/longnv5994/fels_181/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/longnv5994/fels_181/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/longnv5994/fels_181/git/refs{/sha}","trees_url":"https://api.github.com/repos/longnv5994/fels_181/git/trees{/sha}","statuses_url":"https://api.github.com/repos/longnv5994/fels_181/statuses/{sha}","languages_url":"https://api.github.com/repos/longnv5994/fels_181/languages","stargazers_url":"https://api.github.com/repos/longnv5994/fels_181/stargazers","contributors_url":"https://api.github.com/repos/longnv5994/fels_181/contributors","subscribers_url":"https://api.github.com/repos/longnv5994/fels_181/subscribers","subscription_url":"https://api.github.com/repos/longnv5994/fels_181/subscription","commits_url":"https://api.github.com/repos/longnv5994/fels_181/commits{/sha}","git_commits_url":"https://api.github.com/repos/longnv5994/fels_181/git/commits{/sha}","comments_url":"https://api.github.com/repos/longnv5994/fels_181/comments{/number}","issue_comment_url":"https://api.github.com/repos/longnv5994/fels_181/issues/comments{/number}","contents_url":"https://api.github.com/repos/longnv5994/fels_181/contents/{+path}","compare_url":"https://api.github.com/repos/longnv5994/fels_181/compare/{base}...{head}","merges_url":"https://api.github.com/repos/longnv5994/fels_181/merges","archive_url":"https://api.github.com/repos/longnv5994/fels_181/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/longnv5994/fels_181/downloads","issues_url":"https://api.github.com/repos/longnv5994/fels_181/issues{/number}","pulls_url":"https://api.github.com/repos/longnv5994/fels_181/pulls{/number}","milestones_url":"https://api.github.com/repos/longnv5994/fels_181/milestones{/number}","notifications_url":"https://api.github.com/repos/longnv5994/fels_181/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/longnv5994/fels_181/labels{/name}","releases_url":"https://api.github.com/repos/longnv5994/fels_181/releases{/id}","deployments_url":"https://api.github.com/repos/longnv5994/fels_181/deployments","created_at":"2016-08-27T04:26:44Z","updated_at":"2016-08-26T11:23:58Z","pushed_at":"2016-08-29T10:41:03Z","git_url":"git://github.com/longnv5994/fels_181.git","ssh_url":"git@github.com:longnv5994/fels_181.git","clone_url":"https://github.com/longnv5994/fels_181.git","svn_url":"https://github.com/longnv5994/fels_181","homepage":null,"size":29,"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":"9ff092ff4a600686535921c0bae1f9005aa88c55","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":66642261,"name":"fels_181","full_name":"framgia/fels_181","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_181","description":"Framgia E Learning System (Training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_181","forks_url":"https://api.github.com/repos/framgia/fels_181/forks","keys_url":"https://api.github.com/repos/framgia/fels_181/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_181/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_181/teams","hooks_url":"https://api.github.com/repos/framgia/fels_181/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_181/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_181/events","assignees_url":"https://api.github.com/repos/framgia/fels_181/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_181/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_181/tags","blobs_url":"https://api.github.com/repos/framgia/fels_181/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_181/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_181/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_181/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_181/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_181/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_181/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_181/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_181/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_181/subscription","commits_url":"https://api.github.com/repos/framgia/fels_181/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_181/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_181/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_181/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_181/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_181/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_181/merges","archive_url":"https://api.github.com/repos/framgia/fels_181/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_181/downloads","issues_url":"https://api.github.com/repos/framgia/fels_181/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_181/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_181/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_181/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_181/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_181/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_181/deployments","created_at":"2016-08-26T11:23:58Z","updated_at":"2016-08-26T11:23:58Z","pushed_at":"2016-08-29T10:41:04Z","git_url":"git://github.com/framgia/fels_181.git","ssh_url":"git@github.com:framgia/fels_181.git","clone_url":"https://github.com/framgia/fels_181.git","svn_url":"https://github.com/framgia/fels_181","homepage":null,"size":31,"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/fels_181/pulls/6"},"html":{"href":"https://github.com/framgia/fels_181/pull/6"},"issue":{"href":"https://api.github.com/repos/framgia/fels_181/issues/6"},"comments":{"href":"https://api.github.com/repos/framgia/fels_181/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_181/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_181/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_181/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_181/statuses/ad08116bcf954f477d71597f615a2c5bc9386ec6"}}}}
{"actor":{"display_login":"thangtx88"}}