{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ftms/pulls/comments/73816563","id":73816563,"diff_hunk":"@@ -15,6 +15,7 @@ def change\n       t.integer :programming_language_id\n       t.integer :user_progress_id\n       t.integer :status_id\n+      t.integer :location_id, index: true, foreign_key: true","path":"db/migrate/20160225015453_create_profiles.rb","position":4,"original_position":4,"commit_id":"2702c61619cf1c60791671985ce4df54ba915509","original_commit_id":"2702c61619cf1c60791671985ce4df54ba915509","user":{"login":"NgengChhengkim","id":9549149,"avatar_url":"https://avatars.githubusercontent.com/u/9549149?v=3","gravatar_id":"","url":"https://api.github.com/users/NgengChhengkim","html_url":"https://github.com/NgengChhengkim","followers_url":"https://api.github.com/users/NgengChhengkim/followers","following_url":"https://api.github.com/users/NgengChhengkim/following{/other_user}","gists_url":"https://api.github.com/users/NgengChhengkim/gists{/gist_id}","starred_url":"https://api.github.com/users/NgengChhengkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NgengChhengkim/subscriptions","organizations_url":"https://api.github.com/users/NgengChhengkim/orgs","repos_url":"https://api.github.com/users/NgengChhengkim/repos","events_url":"https://api.github.com/users/NgengChhengkim/events{/privacy}","received_events_url":"https://api.github.com/users/NgengChhengkim/received_events","type":"User","site_admin":false},"body":"dung reference","created_at":"2016-08-08T02:38:28Z","updated_at":"2016-08-08T02:38:28Z","html_url":"https://github.com/framgia/ftms/pull/401#discussion_r73816563","pull_request_url":"https://api.github.com/repos/framgia/ftms/pulls/401","_links":{"self":{"href":"https://api.github.com/repos/framgia/ftms/pulls/comments/73816563"},"html":{"href":"https://github.com/framgia/ftms/pull/401#discussion_r73816563"},"pull_request":{"href":"https://api.github.com/repos/framgia/ftms/pulls/401"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ftms/pulls/401","id":80387150,"html_url":"https://github.com/framgia/ftms/pull/401","diff_url":"https://github.com/framgia/ftms/pull/401.diff","patch_url":"https://github.com/framgia/ftms/pull/401.patch","issue_url":"https://api.github.com/repos/framgia/ftms/issues/401","number":401,"state":"open","locked":false,"title":"add location to user's profile","user":{"login":"ngtrduc","id":9583026,"avatar_url":"https://avatars.githubusercontent.com/u/9583026?v=3","gravatar_id":"","url":"https://api.github.com/users/ngtrduc","html_url":"https://github.com/ngtrduc","followers_url":"https://api.github.com/users/ngtrduc/followers","following_url":"https://api.github.com/users/ngtrduc/following{/other_user}","gists_url":"https://api.github.com/users/ngtrduc/gists{/gist_id}","starred_url":"https://api.github.com/users/ngtrduc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngtrduc/subscriptions","organizations_url":"https://api.github.com/users/ngtrduc/orgs","repos_url":"https://api.github.com/users/ngtrduc/repos","events_url":"https://api.github.com/users/ngtrduc/events{/privacy}","received_events_url":"https://api.github.com/users/ngtrduc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-08T02:25:02Z","updated_at":"2016-08-08T02:38:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee0bd4e8e8a16e263b409dc9b2c546c3d6c92300","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ftms/pulls/401/commits","review_comments_url":"https://api.github.com/repos/framgia/ftms/pulls/401/comments","review_comment_url":"https://api.github.com/repos/framgia/ftms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/ftms/issues/401/comments","statuses_url":"https://api.github.com/repos/framgia/ftms/statuses/2702c61619cf1c60791671985ce4df54ba915509","head":{"label":"ngtrduc:add-location-to-user-profile","ref":"add-location-to-user-profile","sha":"2702c61619cf1c60791671985ce4df54ba915509","user":{"login":"ngtrduc","id":9583026,"avatar_url":"https://avatars.githubusercontent.com/u/9583026?v=3","gravatar_id":"","url":"https://api.github.com/users/ngtrduc","html_url":"https://github.com/ngtrduc","followers_url":"https://api.github.com/users/ngtrduc/followers","following_url":"https://api.github.com/users/ngtrduc/following{/other_user}","gists_url":"https://api.github.com/users/ngtrduc/gists{/gist_id}","starred_url":"https://api.github.com/users/ngtrduc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngtrduc/subscriptions","organizations_url":"https://api.github.com/users/ngtrduc/orgs","repos_url":"https://api.github.com/users/ngtrduc/repos","events_url":"https://api.github.com/users/ngtrduc/events{/privacy}","received_events_url":"https://api.github.com/users/ngtrduc/received_events","type":"User","site_admin":false},"repo":{"id":64206445,"name":"ftms","full_name":"ngtrduc/ftms","owner":{"login":"ngtrduc","id":9583026,"avatar_url":"https://avatars.githubusercontent.com/u/9583026?v=3","gravatar_id":"","url":"https://api.github.com/users/ngtrduc","html_url":"https://github.com/ngtrduc","followers_url":"https://api.github.com/users/ngtrduc/followers","following_url":"https://api.github.com/users/ngtrduc/following{/other_user}","gists_url":"https://api.github.com/users/ngtrduc/gists{/gist_id}","starred_url":"https://api.github.com/users/ngtrduc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngtrduc/subscriptions","organizations_url":"https://api.github.com/users/ngtrduc/orgs","repos_url":"https://api.github.com/users/ngtrduc/repos","events_url":"https://api.github.com/users/ngtrduc/events{/privacy}","received_events_url":"https://api.github.com/users/ngtrduc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ngtrduc/ftms","description":"Framgia Training Management System","fork":true,"url":"https://api.github.com/repos/ngtrduc/ftms","forks_url":"https://api.github.com/repos/ngtrduc/ftms/forks","keys_url":"https://api.github.com/repos/ngtrduc/ftms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ngtrduc/ftms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ngtrduc/ftms/teams","hooks_url":"https://api.github.com/repos/ngtrduc/ftms/hooks","issue_events_url":"https://api.github.com/repos/ngtrduc/ftms/issues/events{/number}","events_url":"https://api.github.com/repos/ngtrduc/ftms/events","assignees_url":"https://api.github.com/repos/ngtrduc/ftms/assignees{/user}","branches_url":"https://api.github.com/repos/ngtrduc/ftms/branches{/branch}","tags_url":"https://api.github.com/repos/ngtrduc/ftms/tags","blobs_url":"https://api.github.com/repos/ngtrduc/ftms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ngtrduc/ftms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ngtrduc/ftms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ngtrduc/ftms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ngtrduc/ftms/statuses/{sha}","languages_url":"https://api.github.com/repos/ngtrduc/ftms/languages","stargazers_url":"https://api.github.com/repos/ngtrduc/ftms/stargazers","contributors_url":"https://api.github.com/repos/ngtrduc/ftms/contributors","subscribers_url":"https://api.github.com/repos/ngtrduc/ftms/subscribers","subscription_url":"https://api.github.com/repos/ngtrduc/ftms/subscription","commits_url":"https://api.github.com/repos/ngtrduc/ftms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ngtrduc/ftms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ngtrduc/ftms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ngtrduc/ftms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ngtrduc/ftms/contents/{+path}","compare_url":"https://api.github.com/repos/ngtrduc/ftms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ngtrduc/ftms/merges","archive_url":"https://api.github.com/repos/ngtrduc/ftms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ngtrduc/ftms/downloads","issues_url":"https://api.github.com/repos/ngtrduc/ftms/issues{/number}","pulls_url":"https://api.github.com/repos/ngtrduc/ftms/pulls{/number}","milestones_url":"https://api.github.com/repos/ngtrduc/ftms/milestones{/number}","notifications_url":"https://api.github.com/repos/ngtrduc/ftms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ngtrduc/ftms/labels{/name}","releases_url":"https://api.github.com/repos/ngtrduc/ftms/releases{/id}","deployments_url":"https://api.github.com/repos/ngtrduc/ftms/deployments","created_at":"2016-07-26T09:00:56Z","updated_at":"2015-09-10T03:49:19Z","pushed_at":"2016-08-08T02:23:37Z","git_url":"git://github.com/ngtrduc/ftms.git","ssh_url":"git@github.com:ngtrduc/ftms.git","clone_url":"https://github.com/ngtrduc/ftms.git","svn_url":"https://github.com/ngtrduc/ftms","homepage":null,"size":3476,"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":"7aaee110a6a8289aebabcb79060bdfe25d4b2ea2","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":42220671,"name":"ftms","full_name":"framgia/ftms","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/ftms","description":"Framgia Training Management System","fork":false,"url":"https://api.github.com/repos/framgia/ftms","forks_url":"https://api.github.com/repos/framgia/ftms/forks","keys_url":"https://api.github.com/repos/framgia/ftms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/ftms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/ftms/teams","hooks_url":"https://api.github.com/repos/framgia/ftms/hooks","issue_events_url":"https://api.github.com/repos/framgia/ftms/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/ftms/events","assignees_url":"https://api.github.com/repos/framgia/ftms/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/ftms/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/ftms/tags","blobs_url":"https://api.github.com/repos/framgia/ftms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/ftms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/ftms/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/ftms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/ftms/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/ftms/languages","stargazers_url":"https://api.github.com/repos/framgia/ftms/stargazers","contributors_url":"https://api.github.com/repos/framgia/ftms/contributors","subscribers_url":"https://api.github.com/repos/framgia/ftms/subscribers","subscription_url":"https://api.github.com/repos/framgia/ftms/subscription","commits_url":"https://api.github.com/repos/framgia/ftms/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/ftms/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/ftms/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/ftms/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/ftms/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/ftms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/ftms/merges","archive_url":"https://api.github.com/repos/framgia/ftms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/ftms/downloads","issues_url":"https://api.github.com/repos/framgia/ftms/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/ftms/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/ftms/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/ftms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/ftms/labels{/name}","releases_url":"https://api.github.com/repos/framgia/ftms/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/ftms/deployments","created_at":"2015-09-10T03:49:19Z","updated_at":"2015-09-10T03:49:19Z","pushed_at":"2016-08-08T02:35:28Z","git_url":"git://github.com/framgia/ftms.git","ssh_url":"git@github.com:framgia/ftms.git","clone_url":"https://github.com/framgia/ftms.git","svn_url":"https://github.com/framgia/ftms","homepage":null,"size":3781,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":10,"forks":33,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ftms/pulls/401"},"html":{"href":"https://github.com/framgia/ftms/pull/401"},"issue":{"href":"https://api.github.com/repos/framgia/ftms/issues/401"},"comments":{"href":"https://api.github.com/repos/framgia/ftms/issues/401/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ftms/pulls/401/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/ftms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/ftms/pulls/401/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ftms/statuses/2702c61619cf1c60791671985ce4df54ba915509"}}}}
{"actor":{"display_login":"NgengChhengkim"}}