{"action":"created","comment":{"url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/comments/97169223","pull_request_review_id":17778347,"id":97169223,"diff_hunk":"@@ -64,6 +64,10 @@ def password_reset_expired?\n     reset_sent_at < 2.hours.ago\n   end\n \n+  def feed\n+    Micropost.where \"user_id = ?\", id","path":"app/models/user.rb","position":12,"original_position":12,"commit_id":"384aa7507f8dbdb0df7de18b9f1403c44c779b5b","original_commit_id":"384aa7507f8dbdb0df7de18b9f1403c44c779b5b","user":{"login":"sangnuce","id":12852873,"avatar_url":"https://avatars.githubusercontent.com/u/12852873?v=3","gravatar_id":"","url":"https://api.github.com/users/sangnuce","html_url":"https://github.com/sangnuce","followers_url":"https://api.github.com/users/sangnuce/followers","following_url":"https://api.github.com/users/sangnuce/following{/other_user}","gists_url":"https://api.github.com/users/sangnuce/gists{/gist_id}","starred_url":"https://api.github.com/users/sangnuce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangnuce/subscriptions","organizations_url":"https://api.github.com/users/sangnuce/orgs","repos_url":"https://api.github.com/users/sangnuce/repos","events_url":"https://api.github.com/users/sangnuce/events{/privacy}","received_events_url":"https://api.github.com/users/sangnuce/received_events","type":"User","site_admin":false},"body":"dùng scope","created_at":"2017-01-20T22:31:27Z","updated_at":"2017-01-20T22:33:50Z","html_url":"https://github.com/nguyenmanhtuan93/sample_app/pull/13#discussion_r97169223","pull_request_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/comments/97169223"},"html":{"href":"https://github.com/nguyenmanhtuan93/sample_app/pull/13#discussion_r97169223"},"pull_request":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13","id":102444709,"html_url":"https://github.com/nguyenmanhtuan93/sample_app/pull/13","diff_url":"https://github.com/nguyenmanhtuan93/sample_app/pull/13.diff","patch_url":"https://github.com/nguyenmanhtuan93/sample_app/pull/13.patch","issue_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/13","number":13,"state":"open","locked":false,"title":"Add user microposts","user":{"login":"nguyenmanhtuan93","id":9434747,"avatar_url":"https://avatars.githubusercontent.com/u/9434747?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenmanhtuan93","html_url":"https://github.com/nguyenmanhtuan93","followers_url":"https://api.github.com/users/nguyenmanhtuan93/followers","following_url":"https://api.github.com/users/nguyenmanhtuan93/following{/other_user}","gists_url":"https://api.github.com/users/nguyenmanhtuan93/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenmanhtuan93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenmanhtuan93/subscriptions","organizations_url":"https://api.github.com/users/nguyenmanhtuan93/orgs","repos_url":"https://api.github.com/users/nguyenmanhtuan93/repos","events_url":"https://api.github.com/users/nguyenmanhtuan93/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenmanhtuan93/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-20T11:15:13Z","updated_at":"2017-01-20T22:33:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c1d938259ace8b3decb30d4b2c99eba93c009fc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13/commits","review_comments_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13/comments","review_comment_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/13/comments","statuses_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/statuses/384aa7507f8dbdb0df7de18b9f1403c44c779b5b","head":{"label":"nguyenmanhtuan93:user-microposts","ref":"user-microposts","sha":"384aa7507f8dbdb0df7de18b9f1403c44c779b5b","user":{"login":"nguyenmanhtuan93","id":9434747,"avatar_url":"https://avatars.githubusercontent.com/u/9434747?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenmanhtuan93","html_url":"https://github.com/nguyenmanhtuan93","followers_url":"https://api.github.com/users/nguyenmanhtuan93/followers","following_url":"https://api.github.com/users/nguyenmanhtuan93/following{/other_user}","gists_url":"https://api.github.com/users/nguyenmanhtuan93/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenmanhtuan93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenmanhtuan93/subscriptions","organizations_url":"https://api.github.com/users/nguyenmanhtuan93/orgs","repos_url":"https://api.github.com/users/nguyenmanhtuan93/repos","events_url":"https://api.github.com/users/nguyenmanhtuan93/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenmanhtuan93/received_events","type":"User","site_admin":false},"repo":{"id":77890936,"name":"sample_app","full_name":"nguyenmanhtuan93/sample_app","owner":{"login":"nguyenmanhtuan93","id":9434747,"avatar_url":"https://avatars.githubusercontent.com/u/9434747?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenmanhtuan93","html_url":"https://github.com/nguyenmanhtuan93","followers_url":"https://api.github.com/users/nguyenmanhtuan93/followers","following_url":"https://api.github.com/users/nguyenmanhtuan93/following{/other_user}","gists_url":"https://api.github.com/users/nguyenmanhtuan93/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenmanhtuan93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenmanhtuan93/subscriptions","organizations_url":"https://api.github.com/users/nguyenmanhtuan93/orgs","repos_url":"https://api.github.com/users/nguyenmanhtuan93/repos","events_url":"https://api.github.com/users/nguyenmanhtuan93/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenmanhtuan93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenmanhtuan93/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app","forks_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/forks","keys_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/teams","hooks_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/hooks","issue_events_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/events","assignees_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/tags","blobs_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/languages","stargazers_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/stargazers","contributors_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/contributors","subscribers_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/subscribers","subscription_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/subscription","commits_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/merges","archive_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/downloads","issues_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/deployments","created_at":"2017-01-03T06:40:57Z","updated_at":"2017-01-03T06:43:00Z","pushed_at":"2017-01-20T11:26:08Z","git_url":"git://github.com/nguyenmanhtuan93/sample_app.git","ssh_url":"git@github.com:nguyenmanhtuan93/sample_app.git","clone_url":"https://github.com/nguyenmanhtuan93/sample_app.git","svn_url":"https://github.com/nguyenmanhtuan93/sample_app","homepage":null,"size":75,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nguyenmanhtuan93:master","ref":"master","sha":"0395b0b6304519ecfd62a96fc4918192f2026dcb","user":{"login":"nguyenmanhtuan93","id":9434747,"avatar_url":"https://avatars.githubusercontent.com/u/9434747?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenmanhtuan93","html_url":"https://github.com/nguyenmanhtuan93","followers_url":"https://api.github.com/users/nguyenmanhtuan93/followers","following_url":"https://api.github.com/users/nguyenmanhtuan93/following{/other_user}","gists_url":"https://api.github.com/users/nguyenmanhtuan93/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenmanhtuan93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenmanhtuan93/subscriptions","organizations_url":"https://api.github.com/users/nguyenmanhtuan93/orgs","repos_url":"https://api.github.com/users/nguyenmanhtuan93/repos","events_url":"https://api.github.com/users/nguyenmanhtuan93/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenmanhtuan93/received_events","type":"User","site_admin":false},"repo":{"id":77890936,"name":"sample_app","full_name":"nguyenmanhtuan93/sample_app","owner":{"login":"nguyenmanhtuan93","id":9434747,"avatar_url":"https://avatars.githubusercontent.com/u/9434747?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenmanhtuan93","html_url":"https://github.com/nguyenmanhtuan93","followers_url":"https://api.github.com/users/nguyenmanhtuan93/followers","following_url":"https://api.github.com/users/nguyenmanhtuan93/following{/other_user}","gists_url":"https://api.github.com/users/nguyenmanhtuan93/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenmanhtuan93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenmanhtuan93/subscriptions","organizations_url":"https://api.github.com/users/nguyenmanhtuan93/orgs","repos_url":"https://api.github.com/users/nguyenmanhtuan93/repos","events_url":"https://api.github.com/users/nguyenmanhtuan93/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenmanhtuan93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenmanhtuan93/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app","forks_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/forks","keys_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/teams","hooks_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/hooks","issue_events_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/events","assignees_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/tags","blobs_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/languages","stargazers_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/stargazers","contributors_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/contributors","subscribers_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/subscribers","subscription_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/subscription","commits_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/merges","archive_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/downloads","issues_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/deployments","created_at":"2017-01-03T06:40:57Z","updated_at":"2017-01-03T06:43:00Z","pushed_at":"2017-01-20T11:26:08Z","git_url":"git://github.com/nguyenmanhtuan93/sample_app.git","ssh_url":"git@github.com:nguyenmanhtuan93/sample_app.git","clone_url":"https://github.com/nguyenmanhtuan93/sample_app.git","svn_url":"https://github.com/nguyenmanhtuan93/sample_app","homepage":null,"size":75,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13"},"html":{"href":"https://github.com/nguyenmanhtuan93/sample_app/pull/13"},"issue":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/13"},"comments":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/nguyenmanhtuan93/sample_app/statuses/384aa7507f8dbdb0df7de18b9f1403c44c779b5b"}}}}
{"actor":{"display_login":"sangnuce"}}