{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/framgia_pmp/pulls/comments/62812799","id":62812799,"diff_hunk":"@@ -2,8 +2,7 @@ class User < ActiveRecord::Base\n   has_many :assignees\n   has_many :time_logs\n   has_many :activities\n-  has_many :projects\n-\n+  has_many :projects, class_name: Project.name, foreign_key: :manager_id","path":"app/models/user.rb","position":6,"original_position":6,"commit_id":"c1e84ff3bc84283477ff4d8f6848efbcf931a53e","original_commit_id":"c1e84ff3bc84283477ff4d8f6848efbcf931a53e","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":"bỏ `class_name` đi nhé ","created_at":"2016-05-11T08:56:16Z","updated_at":"2016-05-11T08:56:16Z","html_url":"https://github.com/framgia/framgia_pmp/pull/4#discussion_r62812799","pull_request_url":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/framgia/framgia_pmp/pulls/comments/62812799"},"html":{"href":"https://github.com/framgia/framgia_pmp/pull/4#discussion_r62812799"},"pull_request":{"href":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4","id":69614787,"html_url":"https://github.com/framgia/framgia_pmp/pull/4","diff_url":"https://github.com/framgia/framgia_pmp/pull/4.diff","patch_url":"https://github.com/framgia/framgia_pmp/pull/4.patch","issue_url":"https://api.github.com/repos/framgia/framgia_pmp/issues/4","number":4,"state":"open","locked":false,"title":"task project index","user":{"login":"nguyenthaison","id":10695886,"avatar_url":"https://avatars.githubusercontent.com/u/10695886?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenthaison","html_url":"https://github.com/nguyenthaison","followers_url":"https://api.github.com/users/nguyenthaison/followers","following_url":"https://api.github.com/users/nguyenthaison/following{/other_user}","gists_url":"https://api.github.com/users/nguyenthaison/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenthaison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenthaison/subscriptions","organizations_url":"https://api.github.com/users/nguyenthaison/orgs","repos_url":"https://api.github.com/users/nguyenthaison/repos","events_url":"https://api.github.com/users/nguyenthaison/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenthaison/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-11T04:49:45Z","updated_at":"2016-05-11T08:56:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e90c221641807043bdc694c3d3a2bae7f7679920","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4/commits","review_comments_url":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4/comments","review_comment_url":"https://api.github.com/repos/framgia/framgia_pmp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/framgia_pmp/issues/4/comments","statuses_url":"https://api.github.com/repos/framgia/framgia_pmp/statuses/c1e84ff3bc84283477ff4d8f6848efbcf931a53e","head":{"label":"nguyenthaison:task_index_project","ref":"task_index_project","sha":"c1e84ff3bc84283477ff4d8f6848efbcf931a53e","user":{"login":"nguyenthaison","id":10695886,"avatar_url":"https://avatars.githubusercontent.com/u/10695886?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenthaison","html_url":"https://github.com/nguyenthaison","followers_url":"https://api.github.com/users/nguyenthaison/followers","following_url":"https://api.github.com/users/nguyenthaison/following{/other_user}","gists_url":"https://api.github.com/users/nguyenthaison/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenthaison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenthaison/subscriptions","organizations_url":"https://api.github.com/users/nguyenthaison/orgs","repos_url":"https://api.github.com/users/nguyenthaison/repos","events_url":"https://api.github.com/users/nguyenthaison/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenthaison/received_events","type":"User","site_admin":false},"repo":{"id":58439451,"name":"framgia_pmp","full_name":"nguyenthaison/framgia_pmp","owner":{"login":"nguyenthaison","id":10695886,"avatar_url":"https://avatars.githubusercontent.com/u/10695886?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenthaison","html_url":"https://github.com/nguyenthaison","followers_url":"https://api.github.com/users/nguyenthaison/followers","following_url":"https://api.github.com/users/nguyenthaison/following{/other_user}","gists_url":"https://api.github.com/users/nguyenthaison/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenthaison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenthaison/subscriptions","organizations_url":"https://api.github.com/users/nguyenthaison/orgs","repos_url":"https://api.github.com/users/nguyenthaison/repos","events_url":"https://api.github.com/users/nguyenthaison/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenthaison/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenthaison/framgia_pmp","description":"Framgia PMP","fork":true,"url":"https://api.github.com/repos/nguyenthaison/framgia_pmp","forks_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/forks","keys_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/teams","hooks_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/hooks","issue_events_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/events","assignees_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/tags","blobs_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/languages","stargazers_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/stargazers","contributors_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/contributors","subscribers_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/subscribers","subscription_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/subscription","commits_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/merges","archive_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/downloads","issues_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/labels{/name}","releases_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenthaison/framgia_pmp/deployments","created_at":"2016-05-10T07:31:26Z","updated_at":"2016-05-10T07:26:36Z","pushed_at":"2016-05-11T08:50:22Z","git_url":"git://github.com/nguyenthaison/framgia_pmp.git","ssh_url":"git@github.com:nguyenthaison/framgia_pmp.git","clone_url":"https://github.com/nguyenthaison/framgia_pmp.git","svn_url":"https://github.com/nguyenthaison/framgia_pmp","homepage":null,"size":40,"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":"5245598aba350278b1b0b9eaac093d84fd0a75b6","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":58439142,"name":"framgia_pmp","full_name":"framgia/framgia_pmp","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/framgia_pmp","description":"Framgia PMP","fork":false,"url":"https://api.github.com/repos/framgia/framgia_pmp","forks_url":"https://api.github.com/repos/framgia/framgia_pmp/forks","keys_url":"https://api.github.com/repos/framgia/framgia_pmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/framgia_pmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/framgia_pmp/teams","hooks_url":"https://api.github.com/repos/framgia/framgia_pmp/hooks","issue_events_url":"https://api.github.com/repos/framgia/framgia_pmp/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/framgia_pmp/events","assignees_url":"https://api.github.com/repos/framgia/framgia_pmp/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/framgia_pmp/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/framgia_pmp/tags","blobs_url":"https://api.github.com/repos/framgia/framgia_pmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/framgia_pmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/framgia_pmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/framgia_pmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/framgia_pmp/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/framgia_pmp/languages","stargazers_url":"https://api.github.com/repos/framgia/framgia_pmp/stargazers","contributors_url":"https://api.github.com/repos/framgia/framgia_pmp/contributors","subscribers_url":"https://api.github.com/repos/framgia/framgia_pmp/subscribers","subscription_url":"https://api.github.com/repos/framgia/framgia_pmp/subscription","commits_url":"https://api.github.com/repos/framgia/framgia_pmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/framgia_pmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/framgia_pmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/framgia_pmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/framgia_pmp/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/framgia_pmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/framgia_pmp/merges","archive_url":"https://api.github.com/repos/framgia/framgia_pmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/framgia_pmp/downloads","issues_url":"https://api.github.com/repos/framgia/framgia_pmp/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/framgia_pmp/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/framgia_pmp/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/framgia_pmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/framgia_pmp/labels{/name}","releases_url":"https://api.github.com/repos/framgia/framgia_pmp/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/framgia_pmp/deployments","created_at":"2016-05-10T07:26:36Z","updated_at":"2016-05-10T07:26:36Z","pushed_at":"2016-05-11T08:50:22Z","git_url":"git://github.com/framgia/framgia_pmp.git","ssh_url":"git@github.com:framgia/framgia_pmp.git","clone_url":"https://github.com/framgia/framgia_pmp.git","svn_url":"https://github.com/framgia/framgia_pmp","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4"},"html":{"href":"https://github.com/framgia/framgia_pmp/pull/4"},"issue":{"href":"https://api.github.com/repos/framgia/framgia_pmp/issues/4"},"comments":{"href":"https://api.github.com/repos/framgia/framgia_pmp/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/framgia_pmp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/framgia_pmp/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/framgia_pmp/statuses/c1e84ff3bc84283477ff4d8f6848efbcf931a53e"}}}}