{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_144/pulls/comments/67802175","id":67802175,"diff_hunk":"@@ -15,3 +15,11 @@\n   User.create! name: name, email: email, password: password,\n     password_confirmation: password\n end\n+\n+# Following relationships\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":10,"original_position":10,"commit_id":"ec1fb009a0676dbb299f449298554f585ff66925","original_commit_id":"ec1fb009a0676dbb299f449298554f585ff66925","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"body":"convention ","created_at":"2016-06-21T03:11:59Z","updated_at":"2016-06-21T03:11:59Z","html_url":"https://github.com/framgia/fels_144/pull/11#discussion_r67802175","pull_request_url":"https://api.github.com/repos/framgia/fels_144/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_144/pulls/comments/67802175"},"html":{"href":"https://github.com/framgia/fels_144/pull/11#discussion_r67802175"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_144/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_144/pulls/11","id":74410496,"html_url":"https://github.com/framgia/fels_144/pull/11","diff_url":"https://github.com/framgia/fels_144/pull/11.diff","patch_url":"https://github.com/framgia/fels_144/pull/11.patch","issue_url":"https://api.github.com/repos/framgia/fels_144/issues/11","number":11,"state":"open","locked":false,"title":"refs create 65729 create relationship","user":{"login":"daonhat","id":13216785,"avatar_url":"https://avatars.githubusercontent.com/u/13216785?v=3","gravatar_id":"","url":"https://api.github.com/users/daonhat","html_url":"https://github.com/daonhat","followers_url":"https://api.github.com/users/daonhat/followers","following_url":"https://api.github.com/users/daonhat/following{/other_user}","gists_url":"https://api.github.com/users/daonhat/gists{/gist_id}","starred_url":"https://api.github.com/users/daonhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daonhat/subscriptions","organizations_url":"https://api.github.com/users/daonhat/orgs","repos_url":"https://api.github.com/users/daonhat/repos","events_url":"https://api.github.com/users/daonhat/events{/privacy}","received_events_url":"https://api.github.com/users/daonhat/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-20T09:06:13Z","updated_at":"2016-06-21T03:11:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38b0349b4a4294b8129ca53e282ce8fdecda3ad1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_144/pulls/11/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_144/pulls/11/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_144/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_144/issues/11/comments","statuses_url":"https://api.github.com/repos/framgia/fels_144/statuses/ec1fb009a0676dbb299f449298554f585ff66925","head":{"label":"daonhat:task/65729","ref":"task/65729","sha":"ec1fb009a0676dbb299f449298554f585ff66925","user":{"login":"daonhat","id":13216785,"avatar_url":"https://avatars.githubusercontent.com/u/13216785?v=3","gravatar_id":"","url":"https://api.github.com/users/daonhat","html_url":"https://github.com/daonhat","followers_url":"https://api.github.com/users/daonhat/followers","following_url":"https://api.github.com/users/daonhat/following{/other_user}","gists_url":"https://api.github.com/users/daonhat/gists{/gist_id}","starred_url":"https://api.github.com/users/daonhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daonhat/subscriptions","organizations_url":"https://api.github.com/users/daonhat/orgs","repos_url":"https://api.github.com/users/daonhat/repos","events_url":"https://api.github.com/users/daonhat/events{/privacy}","received_events_url":"https://api.github.com/users/daonhat/received_events","type":"User","site_admin":false},"repo":{"id":61106636,"name":"fels_144","full_name":"daonhat/fels_144","owner":{"login":"daonhat","id":13216785,"avatar_url":"https://avatars.githubusercontent.com/u/13216785?v=3","gravatar_id":"","url":"https://api.github.com/users/daonhat","html_url":"https://github.com/daonhat","followers_url":"https://api.github.com/users/daonhat/followers","following_url":"https://api.github.com/users/daonhat/following{/other_user}","gists_url":"https://api.github.com/users/daonhat/gists{/gist_id}","starred_url":"https://api.github.com/users/daonhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daonhat/subscriptions","organizations_url":"https://api.github.com/users/daonhat/orgs","repos_url":"https://api.github.com/users/daonhat/repos","events_url":"https://api.github.com/users/daonhat/events{/privacy}","received_events_url":"https://api.github.com/users/daonhat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daonhat/fels_144","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/daonhat/fels_144","forks_url":"https://api.github.com/repos/daonhat/fels_144/forks","keys_url":"https://api.github.com/repos/daonhat/fels_144/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daonhat/fels_144/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daonhat/fels_144/teams","hooks_url":"https://api.github.com/repos/daonhat/fels_144/hooks","issue_events_url":"https://api.github.com/repos/daonhat/fels_144/issues/events{/number}","events_url":"https://api.github.com/repos/daonhat/fels_144/events","assignees_url":"https://api.github.com/repos/daonhat/fels_144/assignees{/user}","branches_url":"https://api.github.com/repos/daonhat/fels_144/branches{/branch}","tags_url":"https://api.github.com/repos/daonhat/fels_144/tags","blobs_url":"https://api.github.com/repos/daonhat/fels_144/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daonhat/fels_144/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daonhat/fels_144/git/refs{/sha}","trees_url":"https://api.github.com/repos/daonhat/fels_144/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daonhat/fels_144/statuses/{sha}","languages_url":"https://api.github.com/repos/daonhat/fels_144/languages","stargazers_url":"https://api.github.com/repos/daonhat/fels_144/stargazers","contributors_url":"https://api.github.com/repos/daonhat/fels_144/contributors","subscribers_url":"https://api.github.com/repos/daonhat/fels_144/subscribers","subscription_url":"https://api.github.com/repos/daonhat/fels_144/subscription","commits_url":"https://api.github.com/repos/daonhat/fels_144/commits{/sha}","git_commits_url":"https://api.github.com/repos/daonhat/fels_144/git/commits{/sha}","comments_url":"https://api.github.com/repos/daonhat/fels_144/comments{/number}","issue_comment_url":"https://api.github.com/repos/daonhat/fels_144/issues/comments{/number}","contents_url":"https://api.github.com/repos/daonhat/fels_144/contents/{+path}","compare_url":"https://api.github.com/repos/daonhat/fels_144/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daonhat/fels_144/merges","archive_url":"https://api.github.com/repos/daonhat/fels_144/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daonhat/fels_144/downloads","issues_url":"https://api.github.com/repos/daonhat/fels_144/issues{/number}","pulls_url":"https://api.github.com/repos/daonhat/fels_144/pulls{/number}","milestones_url":"https://api.github.com/repos/daonhat/fels_144/milestones{/number}","notifications_url":"https://api.github.com/repos/daonhat/fels_144/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daonhat/fels_144/labels{/name}","releases_url":"https://api.github.com/repos/daonhat/fels_144/releases{/id}","deployments_url":"https://api.github.com/repos/daonhat/fels_144/deployments","created_at":"2016-06-14T08:43:28Z","updated_at":"2016-06-14T04:11:54Z","pushed_at":"2016-06-21T01:49:35Z","git_url":"git://github.com/daonhat/fels_144.git","ssh_url":"git@github.com:daonhat/fels_144.git","clone_url":"https://github.com/daonhat/fels_144.git","svn_url":"https://github.com/daonhat/fels_144","homepage":null,"size":57,"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":"194a5fcbb48fadca6028ade0e7135cb3927b00b9","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":61091030,"name":"fels_144","full_name":"framgia/fels_144","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_144","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_144","forks_url":"https://api.github.com/repos/framgia/fels_144/forks","keys_url":"https://api.github.com/repos/framgia/fels_144/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_144/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_144/teams","hooks_url":"https://api.github.com/repos/framgia/fels_144/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_144/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_144/events","assignees_url":"https://api.github.com/repos/framgia/fels_144/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_144/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_144/tags","blobs_url":"https://api.github.com/repos/framgia/fels_144/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_144/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_144/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_144/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_144/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_144/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_144/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_144/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_144/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_144/subscription","commits_url":"https://api.github.com/repos/framgia/fels_144/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_144/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_144/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_144/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_144/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_144/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_144/merges","archive_url":"https://api.github.com/repos/framgia/fels_144/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_144/downloads","issues_url":"https://api.github.com/repos/framgia/fels_144/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_144/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_144/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_144/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_144/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_144/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_144/deployments","created_at":"2016-06-14T04:11:54Z","updated_at":"2016-06-14T04:11:54Z","pushed_at":"2016-06-21T01:49:36Z","git_url":"git://github.com/framgia/fels_144.git","ssh_url":"git@github.com:framgia/fels_144.git","clone_url":"https://github.com/framgia/fels_144.git","svn_url":"https://github.com/framgia/fels_144","homepage":null,"size":60,"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_144/pulls/11"},"html":{"href":"https://github.com/framgia/fels_144/pull/11"},"issue":{"href":"https://api.github.com/repos/framgia/fels_144/issues/11"},"comments":{"href":"https://api.github.com/repos/framgia/fels_144/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_144/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_144/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_144/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_144/statuses/ec1fb009a0676dbb299f449298554f585ff66925"}}}}
{"actor":{"display_login":"hellovietnam93"}}