{"action":"created","comment":{"url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/comments/117927101","pull_request_review_id":39671569,"id":117927101,"diff_hunk":"@@ -15,3 +15,10 @@\n   content = Faker::Lorem.sentence 5\n   users.each {|user| user.microposts.create! content: content}\n end\n+\n+users = User.all\n+user = users.first\n+following = users[2..50]\n+followers = users[3..40]\n+following.each {|followed| user.follow followed}","path":"db/seeds.rb","position":null,"original_position":9,"commit_id":"c0ffe0a467f33cc834d94071cbd0ccf6f563febd","original_commit_id":"dd2351e5ef09eaf8a98c95aa5d66870aa6943a12","user":{"login":"LeTanThanh","id":12295391,"avatar_url":"https://avatars2.githubusercontent.com/u/12295391?v=3","gravatar_id":"","url":"https://api.github.com/users/LeTanThanh","html_url":"https://github.com/LeTanThanh","followers_url":"https://api.github.com/users/LeTanThanh/followers","following_url":"https://api.github.com/users/LeTanThanh/following{/other_user}","gists_url":"https://api.github.com/users/LeTanThanh/gists{/gist_id}","starred_url":"https://api.github.com/users/LeTanThanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeTanThanh/subscriptions","organizations_url":"https://api.github.com/users/LeTanThanh/orgs","repos_url":"https://api.github.com/users/LeTanThanh/repos","events_url":"https://api.github.com/users/LeTanThanh/events{/privacy}","received_events_url":"https://api.github.com/users/LeTanThanh/received_events","type":"User","site_admin":false},"body":"ok anh","created_at":"2017-05-23T08:16:23Z","updated_at":"2017-05-23T08:16:23Z","html_url":"https://github.com/LeTanThanh/sample_app/pull/12#discussion_r117927101","pull_request_url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/comments/117927101"},"html":{"href":"https://github.com/LeTanThanh/sample_app/pull/12#discussion_r117927101"},"pull_request":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12","id":121696210,"html_url":"https://github.com/LeTanThanh/sample_app/pull/12","diff_url":"https://github.com/LeTanThanh/sample_app/pull/12.diff","patch_url":"https://github.com/LeTanThanh/sample_app/pull/12.patch","issue_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues/12","number":12,"state":"open","locked":false,"title":"Chapter 14: Following Users","user":{"login":"LeTanThanh","id":12295391,"avatar_url":"https://avatars2.githubusercontent.com/u/12295391?v=3","gravatar_id":"","url":"https://api.github.com/users/LeTanThanh","html_url":"https://github.com/LeTanThanh","followers_url":"https://api.github.com/users/LeTanThanh/followers","following_url":"https://api.github.com/users/LeTanThanh/following{/other_user}","gists_url":"https://api.github.com/users/LeTanThanh/gists{/gist_id}","starred_url":"https://api.github.com/users/LeTanThanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeTanThanh/subscriptions","organizations_url":"https://api.github.com/users/LeTanThanh/orgs","repos_url":"https://api.github.com/users/LeTanThanh/repos","events_url":"https://api.github.com/users/LeTanThanh/events{/privacy}","received_events_url":"https://api.github.com/users/LeTanThanh/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-22T04:21:26Z","updated_at":"2017-05-23T08:16:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13af1663b9502e5ebeec32d1e49f61099d3725ef","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12/commits","review_comments_url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12/comments","review_comment_url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues/12/comments","statuses_url":"https://api.github.com/repos/LeTanThanh/sample_app/statuses/c0ffe0a467f33cc834d94071cbd0ccf6f563febd","head":{"label":"LeTanThanh:following-users","ref":"following-users","sha":"c0ffe0a467f33cc834d94071cbd0ccf6f563febd","user":{"login":"LeTanThanh","id":12295391,"avatar_url":"https://avatars2.githubusercontent.com/u/12295391?v=3","gravatar_id":"","url":"https://api.github.com/users/LeTanThanh","html_url":"https://github.com/LeTanThanh","followers_url":"https://api.github.com/users/LeTanThanh/followers","following_url":"https://api.github.com/users/LeTanThanh/following{/other_user}","gists_url":"https://api.github.com/users/LeTanThanh/gists{/gist_id}","starred_url":"https://api.github.com/users/LeTanThanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeTanThanh/subscriptions","organizations_url":"https://api.github.com/users/LeTanThanh/orgs","repos_url":"https://api.github.com/users/LeTanThanh/repos","events_url":"https://api.github.com/users/LeTanThanh/events{/privacy}","received_events_url":"https://api.github.com/users/LeTanThanh/received_events","type":"User","site_admin":false},"repo":{"id":90687042,"name":"sample_app","full_name":"LeTanThanh/sample_app","owner":{"login":"LeTanThanh","id":12295391,"avatar_url":"https://avatars2.githubusercontent.com/u/12295391?v=3","gravatar_id":"","url":"https://api.github.com/users/LeTanThanh","html_url":"https://github.com/LeTanThanh","followers_url":"https://api.github.com/users/LeTanThanh/followers","following_url":"https://api.github.com/users/LeTanThanh/following{/other_user}","gists_url":"https://api.github.com/users/LeTanThanh/gists{/gist_id}","starred_url":"https://api.github.com/users/LeTanThanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeTanThanh/subscriptions","organizations_url":"https://api.github.com/users/LeTanThanh/orgs","repos_url":"https://api.github.com/users/LeTanThanh/repos","events_url":"https://api.github.com/users/LeTanThanh/events{/privacy}","received_events_url":"https://api.github.com/users/LeTanThanh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeTanThanh/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/LeTanThanh/sample_app","forks_url":"https://api.github.com/repos/LeTanThanh/sample_app/forks","keys_url":"https://api.github.com/repos/LeTanThanh/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeTanThanh/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeTanThanh/sample_app/teams","hooks_url":"https://api.github.com/repos/LeTanThanh/sample_app/hooks","issue_events_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/LeTanThanh/sample_app/events","assignees_url":"https://api.github.com/repos/LeTanThanh/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/LeTanThanh/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/LeTanThanh/sample_app/tags","blobs_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeTanThanh/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/LeTanThanh/sample_app/languages","stargazers_url":"https://api.github.com/repos/LeTanThanh/sample_app/stargazers","contributors_url":"https://api.github.com/repos/LeTanThanh/sample_app/contributors","subscribers_url":"https://api.github.com/repos/LeTanThanh/sample_app/subscribers","subscription_url":"https://api.github.com/repos/LeTanThanh/sample_app/subscription","commits_url":"https://api.github.com/repos/LeTanThanh/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeTanThanh/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeTanThanh/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/LeTanThanh/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeTanThanh/sample_app/merges","archive_url":"https://api.github.com/repos/LeTanThanh/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeTanThanh/sample_app/downloads","issues_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/LeTanThanh/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/LeTanThanh/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeTanThanh/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/LeTanThanh/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/LeTanThanh/sample_app/deployments","created_at":"2017-05-09T01:07:45Z","updated_at":"2017-05-09T01:35:30Z","pushed_at":"2017-05-23T08:11:27Z","git_url":"git://github.com/LeTanThanh/sample_app.git","ssh_url":"git@github.com:LeTanThanh/sample_app.git","clone_url":"https://github.com/LeTanThanh/sample_app.git","svn_url":"https://github.com/LeTanThanh/sample_app","homepage":null,"size":2306,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LeTanThanh:master","ref":"master","sha":"a623d2f05999576d4576374cfdc61be6498322f4","user":{"login":"LeTanThanh","id":12295391,"avatar_url":"https://avatars2.githubusercontent.com/u/12295391?v=3","gravatar_id":"","url":"https://api.github.com/users/LeTanThanh","html_url":"https://github.com/LeTanThanh","followers_url":"https://api.github.com/users/LeTanThanh/followers","following_url":"https://api.github.com/users/LeTanThanh/following{/other_user}","gists_url":"https://api.github.com/users/LeTanThanh/gists{/gist_id}","starred_url":"https://api.github.com/users/LeTanThanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeTanThanh/subscriptions","organizations_url":"https://api.github.com/users/LeTanThanh/orgs","repos_url":"https://api.github.com/users/LeTanThanh/repos","events_url":"https://api.github.com/users/LeTanThanh/events{/privacy}","received_events_url":"https://api.github.com/users/LeTanThanh/received_events","type":"User","site_admin":false},"repo":{"id":90687042,"name":"sample_app","full_name":"LeTanThanh/sample_app","owner":{"login":"LeTanThanh","id":12295391,"avatar_url":"https://avatars2.githubusercontent.com/u/12295391?v=3","gravatar_id":"","url":"https://api.github.com/users/LeTanThanh","html_url":"https://github.com/LeTanThanh","followers_url":"https://api.github.com/users/LeTanThanh/followers","following_url":"https://api.github.com/users/LeTanThanh/following{/other_user}","gists_url":"https://api.github.com/users/LeTanThanh/gists{/gist_id}","starred_url":"https://api.github.com/users/LeTanThanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeTanThanh/subscriptions","organizations_url":"https://api.github.com/users/LeTanThanh/orgs","repos_url":"https://api.github.com/users/LeTanThanh/repos","events_url":"https://api.github.com/users/LeTanThanh/events{/privacy}","received_events_url":"https://api.github.com/users/LeTanThanh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeTanThanh/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/LeTanThanh/sample_app","forks_url":"https://api.github.com/repos/LeTanThanh/sample_app/forks","keys_url":"https://api.github.com/repos/LeTanThanh/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeTanThanh/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeTanThanh/sample_app/teams","hooks_url":"https://api.github.com/repos/LeTanThanh/sample_app/hooks","issue_events_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/LeTanThanh/sample_app/events","assignees_url":"https://api.github.com/repos/LeTanThanh/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/LeTanThanh/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/LeTanThanh/sample_app/tags","blobs_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeTanThanh/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/LeTanThanh/sample_app/languages","stargazers_url":"https://api.github.com/repos/LeTanThanh/sample_app/stargazers","contributors_url":"https://api.github.com/repos/LeTanThanh/sample_app/contributors","subscribers_url":"https://api.github.com/repos/LeTanThanh/sample_app/subscribers","subscription_url":"https://api.github.com/repos/LeTanThanh/sample_app/subscription","commits_url":"https://api.github.com/repos/LeTanThanh/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeTanThanh/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeTanThanh/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeTanThanh/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/LeTanThanh/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeTanThanh/sample_app/merges","archive_url":"https://api.github.com/repos/LeTanThanh/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeTanThanh/sample_app/downloads","issues_url":"https://api.github.com/repos/LeTanThanh/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/LeTanThanh/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/LeTanThanh/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/LeTanThanh/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeTanThanh/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/LeTanThanh/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/LeTanThanh/sample_app/deployments","created_at":"2017-05-09T01:07:45Z","updated_at":"2017-05-09T01:35:30Z","pushed_at":"2017-05-23T08:11:27Z","git_url":"git://github.com/LeTanThanh/sample_app.git","ssh_url":"git@github.com:LeTanThanh/sample_app.git","clone_url":"https://github.com/LeTanThanh/sample_app.git","svn_url":"https://github.com/LeTanThanh/sample_app","homepage":null,"size":2306,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12"},"html":{"href":"https://github.com/LeTanThanh/sample_app/pull/12"},"issue":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/issues/12"},"comments":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/LeTanThanh/sample_app/statuses/c0ffe0a467f33cc834d94071cbd0ccf6f563febd"}}}}
{"actor":{"display_login":"LeTanThanh"}}