{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_185/pulls/comments/80207474","id":80207474,"diff_hunk":"@@ -0,0 +1,11 @@\n+class User < ActiveRecord::Base\n+  has_many :lesson, dependent: :destroy\n+  has_many :active_relationships, class_name:  \"Relationship\",\n+                                  foreign_key: \"follower\",","path":"app/models/user.rb","position":4,"original_position":4,"commit_id":"3263656b8b6f65fa4bafb514194b1b4d991f161c","original_commit_id":"3263656b8b6f65fa4bafb514194b1b4d991f161c","user":{"login":"thaophan961","id":22090241,"avatar_url":"https://avatars.githubusercontent.com/u/22090241?v=3","gravatar_id":"","url":"https://api.github.com/users/thaophan961","html_url":"https://github.com/thaophan961","followers_url":"https://api.github.com/users/thaophan961/followers","following_url":"https://api.github.com/users/thaophan961/following{/other_user}","gists_url":"https://api.github.com/users/thaophan961/gists{/gist_id}","starred_url":"https://api.github.com/users/thaophan961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaophan961/subscriptions","organizations_url":"https://api.github.com/users/thaophan961/orgs","repos_url":"https://api.github.com/users/thaophan961/repos","events_url":"https://api.github.com/users/thaophan961/events{/privacy}","received_events_url":"https://api.github.com/users/thaophan961/received_events","type":"User","site_admin":false},"body":"em sửa rôi","created_at":"2016-09-23T09:08:28Z","updated_at":"2016-09-23T09:08:28Z","html_url":"https://github.com/framgia/fels_185/pull/1#discussion_r80207474","pull_request_url":"https://api.github.com/repos/framgia/fels_185/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_185/pulls/comments/80207474"},"html":{"href":"https://github.com/framgia/fels_185/pull/1#discussion_r80207474"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_185/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_185/pulls/1","id":86473050,"html_url":"https://github.com/framgia/fels_185/pull/1","diff_url":"https://github.com/framgia/fels_185/pull/1.diff","patch_url":"https://github.com/framgia/fels_185/pull/1.patch","issue_url":"https://api.github.com/repos/framgia/fels_185/issues/1","number":1,"state":"open","locked":false,"title":"init model and relationship","user":{"login":"thaophan961","id":22090241,"avatar_url":"https://avatars.githubusercontent.com/u/22090241?v=3","gravatar_id":"","url":"https://api.github.com/users/thaophan961","html_url":"https://github.com/thaophan961","followers_url":"https://api.github.com/users/thaophan961/followers","following_url":"https://api.github.com/users/thaophan961/following{/other_user}","gists_url":"https://api.github.com/users/thaophan961/gists{/gist_id}","starred_url":"https://api.github.com/users/thaophan961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaophan961/subscriptions","organizations_url":"https://api.github.com/users/thaophan961/orgs","repos_url":"https://api.github.com/users/thaophan961/repos","events_url":"https://api.github.com/users/thaophan961/events{/privacy}","received_events_url":"https://api.github.com/users/thaophan961/received_events","type":"User","site_admin":false},"body":"init model and relationship","created_at":"2016-09-23T08:33:23Z","updated_at":"2016-09-23T09:08:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c65351c2b94eef8356353d2978e2b63f41b49e10","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_185/pulls/1/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_185/pulls/1/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_185/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_185/issues/1/comments","statuses_url":"https://api.github.com/repos/framgia/fels_185/statuses/3263656b8b6f65fa4bafb514194b1b4d991f161c","head":{"label":"thaophan961:78844_init_model_relationship","ref":"78844_init_model_relationship","sha":"3263656b8b6f65fa4bafb514194b1b4d991f161c","user":{"login":"thaophan961","id":22090241,"avatar_url":"https://avatars.githubusercontent.com/u/22090241?v=3","gravatar_id":"","url":"https://api.github.com/users/thaophan961","html_url":"https://github.com/thaophan961","followers_url":"https://api.github.com/users/thaophan961/followers","following_url":"https://api.github.com/users/thaophan961/following{/other_user}","gists_url":"https://api.github.com/users/thaophan961/gists{/gist_id}","starred_url":"https://api.github.com/users/thaophan961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaophan961/subscriptions","organizations_url":"https://api.github.com/users/thaophan961/orgs","repos_url":"https://api.github.com/users/thaophan961/repos","events_url":"https://api.github.com/users/thaophan961/events{/privacy}","received_events_url":"https://api.github.com/users/thaophan961/received_events","type":"User","site_admin":false},"repo":{"id":68993765,"name":"fels_185","full_name":"thaophan961/fels_185","owner":{"login":"thaophan961","id":22090241,"avatar_url":"https://avatars.githubusercontent.com/u/22090241?v=3","gravatar_id":"","url":"https://api.github.com/users/thaophan961","html_url":"https://github.com/thaophan961","followers_url":"https://api.github.com/users/thaophan961/followers","following_url":"https://api.github.com/users/thaophan961/following{/other_user}","gists_url":"https://api.github.com/users/thaophan961/gists{/gist_id}","starred_url":"https://api.github.com/users/thaophan961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaophan961/subscriptions","organizations_url":"https://api.github.com/users/thaophan961/orgs","repos_url":"https://api.github.com/users/thaophan961/repos","events_url":"https://api.github.com/users/thaophan961/events{/privacy}","received_events_url":"https://api.github.com/users/thaophan961/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thaophan961/fels_185","description":"Framgia E Learning System (Training)","fork":true,"url":"https://api.github.com/repos/thaophan961/fels_185","forks_url":"https://api.github.com/repos/thaophan961/fels_185/forks","keys_url":"https://api.github.com/repos/thaophan961/fels_185/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thaophan961/fels_185/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thaophan961/fels_185/teams","hooks_url":"https://api.github.com/repos/thaophan961/fels_185/hooks","issue_events_url":"https://api.github.com/repos/thaophan961/fels_185/issues/events{/number}","events_url":"https://api.github.com/repos/thaophan961/fels_185/events","assignees_url":"https://api.github.com/repos/thaophan961/fels_185/assignees{/user}","branches_url":"https://api.github.com/repos/thaophan961/fels_185/branches{/branch}","tags_url":"https://api.github.com/repos/thaophan961/fels_185/tags","blobs_url":"https://api.github.com/repos/thaophan961/fels_185/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thaophan961/fels_185/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thaophan961/fels_185/git/refs{/sha}","trees_url":"https://api.github.com/repos/thaophan961/fels_185/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thaophan961/fels_185/statuses/{sha}","languages_url":"https://api.github.com/repos/thaophan961/fels_185/languages","stargazers_url":"https://api.github.com/repos/thaophan961/fels_185/stargazers","contributors_url":"https://api.github.com/repos/thaophan961/fels_185/contributors","subscribers_url":"https://api.github.com/repos/thaophan961/fels_185/subscribers","subscription_url":"https://api.github.com/repos/thaophan961/fels_185/subscription","commits_url":"https://api.github.com/repos/thaophan961/fels_185/commits{/sha}","git_commits_url":"https://api.github.com/repos/thaophan961/fels_185/git/commits{/sha}","comments_url":"https://api.github.com/repos/thaophan961/fels_185/comments{/number}","issue_comment_url":"https://api.github.com/repos/thaophan961/fels_185/issues/comments{/number}","contents_url":"https://api.github.com/repos/thaophan961/fels_185/contents/{+path}","compare_url":"https://api.github.com/repos/thaophan961/fels_185/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thaophan961/fels_185/merges","archive_url":"https://api.github.com/repos/thaophan961/fels_185/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thaophan961/fels_185/downloads","issues_url":"https://api.github.com/repos/thaophan961/fels_185/issues{/number}","pulls_url":"https://api.github.com/repos/thaophan961/fels_185/pulls{/number}","milestones_url":"https://api.github.com/repos/thaophan961/fels_185/milestones{/number}","notifications_url":"https://api.github.com/repos/thaophan961/fels_185/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thaophan961/fels_185/labels{/name}","releases_url":"https://api.github.com/repos/thaophan961/fels_185/releases{/id}","deployments_url":"https://api.github.com/repos/thaophan961/fels_185/deployments","created_at":"2016-09-23T05:59:38Z","updated_at":"2016-09-19T02:00:11Z","pushed_at":"2016-09-23T08:37:50Z","git_url":"git://github.com/thaophan961/fels_185.git","ssh_url":"git@github.com:thaophan961/fels_185.git","clone_url":"https://github.com/thaophan961/fels_185.git","svn_url":"https://github.com/thaophan961/fels_185","homepage":null,"size":17,"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":"85d7025f165ce5254d052e56cc06ecf42bec5d48","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":68560117,"name":"fels_185","full_name":"framgia/fels_185","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_185","description":"Framgia E Learning System (Training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_185","forks_url":"https://api.github.com/repos/framgia/fels_185/forks","keys_url":"https://api.github.com/repos/framgia/fels_185/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_185/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_185/teams","hooks_url":"https://api.github.com/repos/framgia/fels_185/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_185/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_185/events","assignees_url":"https://api.github.com/repos/framgia/fels_185/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_185/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_185/tags","blobs_url":"https://api.github.com/repos/framgia/fels_185/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_185/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_185/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_185/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_185/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_185/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_185/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_185/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_185/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_185/subscription","commits_url":"https://api.github.com/repos/framgia/fels_185/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_185/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_185/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_185/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_185/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_185/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_185/merges","archive_url":"https://api.github.com/repos/framgia/fels_185/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_185/downloads","issues_url":"https://api.github.com/repos/framgia/fels_185/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_185/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_185/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_185/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_185/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_185/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_185/deployments","created_at":"2016-09-19T02:00:11Z","updated_at":"2016-09-19T02:00:11Z","pushed_at":"2016-09-23T08:43:51Z","git_url":"git://github.com/framgia/fels_185.git","ssh_url":"git@github.com:framgia/fels_185.git","clone_url":"https://github.com/framgia/fels_185.git","svn_url":"https://github.com/framgia/fels_185","homepage":null,"size":16,"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_185/pulls/1"},"html":{"href":"https://github.com/framgia/fels_185/pull/1"},"issue":{"href":"https://api.github.com/repos/framgia/fels_185/issues/1"},"comments":{"href":"https://api.github.com/repos/framgia/fels_185/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_185/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_185/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_185/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_185/statuses/3263656b8b6f65fa4bafb514194b1b4d991f161c"}}}}
{"actor":{"display_login":"thaophan961"}}