{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_118/pulls/comments/58856355","id":58856355,"diff_hunk":"@@ -13,3 +13,15 @@\n     password: password,\n     password_confirmation: password)\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)}\n+followers.each {|follower| follower.follow(user)}\n+\n+100.times do |n|\n+  category_name  = \"Category-#{n+1}\"\n+  Category.create!(category_name: category_name)","path":"db/seeds.rb","position":14,"original_position":14,"commit_id":"099c7096445f6bd4a6b5ed0780b603c2e279880b","original_commit_id":"099c7096445f6bd4a6b5ed0780b603c2e279880b","user":{"login":"MuhammadTamzid","id":14922233,"avatar_url":"https://avatars.githubusercontent.com/u/14922233?v=3","gravatar_id":"","url":"https://api.github.com/users/MuhammadTamzid","html_url":"https://github.com/MuhammadTamzid","followers_url":"https://api.github.com/users/MuhammadTamzid/followers","following_url":"https://api.github.com/users/MuhammadTamzid/following{/other_user}","gists_url":"https://api.github.com/users/MuhammadTamzid/gists{/gist_id}","starred_url":"https://api.github.com/users/MuhammadTamzid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MuhammadTamzid/subscriptions","organizations_url":"https://api.github.com/users/MuhammadTamzid/orgs","repos_url":"https://api.github.com/users/MuhammadTamzid/repos","events_url":"https://api.github.com/users/MuhammadTamzid/events{/privacy}","received_events_url":"https://api.github.com/users/MuhammadTamzid/received_events","type":"User","site_admin":false},"body":"remove ()","created_at":"2016-04-07T11:30:33Z","updated_at":"2016-04-07T11:30:33Z","html_url":"https://github.com/framgia/fels_118/pull/8#discussion_r58856355","pull_request_url":"https://api.github.com/repos/framgia/fels_118/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_118/pulls/comments/58856355"},"html":{"href":"https://github.com/framgia/fels_118/pull/8#discussion_r58856355"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_118/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_118/pulls/8","id":65612072,"html_url":"https://github.com/framgia/fels_118/pull/8","diff_url":"https://github.com/framgia/fels_118/pull/8.diff","patch_url":"https://github.com/framgia/fels_118/pull/8.patch","issue_url":"https://api.github.com/repos/framgia/fels_118/issues/8","number":8,"state":"open","locked":false,"title":"58733_category_management","user":{"login":"ahammad-reyad","id":6394806,"avatar_url":"https://avatars.githubusercontent.com/u/6394806?v=3","gravatar_id":"","url":"https://api.github.com/users/ahammad-reyad","html_url":"https://github.com/ahammad-reyad","followers_url":"https://api.github.com/users/ahammad-reyad/followers","following_url":"https://api.github.com/users/ahammad-reyad/following{/other_user}","gists_url":"https://api.github.com/users/ahammad-reyad/gists{/gist_id}","starred_url":"https://api.github.com/users/ahammad-reyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahammad-reyad/subscriptions","organizations_url":"https://api.github.com/users/ahammad-reyad/orgs","repos_url":"https://api.github.com/users/ahammad-reyad/repos","events_url":"https://api.github.com/users/ahammad-reyad/events{/privacy}","received_events_url":"https://api.github.com/users/ahammad-reyad/received_events","type":"User","site_admin":false},"body":"category management implemented","created_at":"2016-04-07T11:08:51Z","updated_at":"2016-04-07T11:30:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10ec09685fb70d46d9d81e7ab512bd9235087b6b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_118/pulls/8/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_118/pulls/8/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_118/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_118/issues/8/comments","statuses_url":"https://api.github.com/repos/framgia/fels_118/statuses/099c7096445f6bd4a6b5ed0780b603c2e279880b","head":{"label":"ahammad-reyad:58733_category_management","ref":"58733_category_management","sha":"099c7096445f6bd4a6b5ed0780b603c2e279880b","user":{"login":"ahammad-reyad","id":6394806,"avatar_url":"https://avatars.githubusercontent.com/u/6394806?v=3","gravatar_id":"","url":"https://api.github.com/users/ahammad-reyad","html_url":"https://github.com/ahammad-reyad","followers_url":"https://api.github.com/users/ahammad-reyad/followers","following_url":"https://api.github.com/users/ahammad-reyad/following{/other_user}","gists_url":"https://api.github.com/users/ahammad-reyad/gists{/gist_id}","starred_url":"https://api.github.com/users/ahammad-reyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahammad-reyad/subscriptions","organizations_url":"https://api.github.com/users/ahammad-reyad/orgs","repos_url":"https://api.github.com/users/ahammad-reyad/repos","events_url":"https://api.github.com/users/ahammad-reyad/events{/privacy}","received_events_url":"https://api.github.com/users/ahammad-reyad/received_events","type":"User","site_admin":false},"repo":{"id":55146004,"name":"fels_118","full_name":"ahammad-reyad/fels_118","owner":{"login":"ahammad-reyad","id":6394806,"avatar_url":"https://avatars.githubusercontent.com/u/6394806?v=3","gravatar_id":"","url":"https://api.github.com/users/ahammad-reyad","html_url":"https://github.com/ahammad-reyad","followers_url":"https://api.github.com/users/ahammad-reyad/followers","following_url":"https://api.github.com/users/ahammad-reyad/following{/other_user}","gists_url":"https://api.github.com/users/ahammad-reyad/gists{/gist_id}","starred_url":"https://api.github.com/users/ahammad-reyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahammad-reyad/subscriptions","organizations_url":"https://api.github.com/users/ahammad-reyad/orgs","repos_url":"https://api.github.com/users/ahammad-reyad/repos","events_url":"https://api.github.com/users/ahammad-reyad/events{/privacy}","received_events_url":"https://api.github.com/users/ahammad-reyad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahammad-reyad/fels_118","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/ahammad-reyad/fels_118","forks_url":"https://api.github.com/repos/ahammad-reyad/fels_118/forks","keys_url":"https://api.github.com/repos/ahammad-reyad/fels_118/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahammad-reyad/fels_118/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahammad-reyad/fels_118/teams","hooks_url":"https://api.github.com/repos/ahammad-reyad/fels_118/hooks","issue_events_url":"https://api.github.com/repos/ahammad-reyad/fels_118/issues/events{/number}","events_url":"https://api.github.com/repos/ahammad-reyad/fels_118/events","assignees_url":"https://api.github.com/repos/ahammad-reyad/fels_118/assignees{/user}","branches_url":"https://api.github.com/repos/ahammad-reyad/fels_118/branches{/branch}","tags_url":"https://api.github.com/repos/ahammad-reyad/fels_118/tags","blobs_url":"https://api.github.com/repos/ahammad-reyad/fels_118/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahammad-reyad/fels_118/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahammad-reyad/fels_118/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahammad-reyad/fels_118/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahammad-reyad/fels_118/statuses/{sha}","languages_url":"https://api.github.com/repos/ahammad-reyad/fels_118/languages","stargazers_url":"https://api.github.com/repos/ahammad-reyad/fels_118/stargazers","contributors_url":"https://api.github.com/repos/ahammad-reyad/fels_118/contributors","subscribers_url":"https://api.github.com/repos/ahammad-reyad/fels_118/subscribers","subscription_url":"https://api.github.com/repos/ahammad-reyad/fels_118/subscription","commits_url":"https://api.github.com/repos/ahammad-reyad/fels_118/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahammad-reyad/fels_118/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahammad-reyad/fels_118/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahammad-reyad/fels_118/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahammad-reyad/fels_118/contents/{+path}","compare_url":"https://api.github.com/repos/ahammad-reyad/fels_118/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahammad-reyad/fels_118/merges","archive_url":"https://api.github.com/repos/ahammad-reyad/fels_118/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahammad-reyad/fels_118/downloads","issues_url":"https://api.github.com/repos/ahammad-reyad/fels_118/issues{/number}","pulls_url":"https://api.github.com/repos/ahammad-reyad/fels_118/pulls{/number}","milestones_url":"https://api.github.com/repos/ahammad-reyad/fels_118/milestones{/number}","notifications_url":"https://api.github.com/repos/ahammad-reyad/fels_118/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahammad-reyad/fels_118/labels{/name}","releases_url":"https://api.github.com/repos/ahammad-reyad/fels_118/releases{/id}","deployments_url":"https://api.github.com/repos/ahammad-reyad/fels_118/deployments","created_at":"2016-03-31T11:41:45Z","updated_at":"2016-03-04T02:54:15Z","pushed_at":"2016-04-07T11:26:56Z","git_url":"git://github.com/ahammad-reyad/fels_118.git","ssh_url":"git@github.com:ahammad-reyad/fels_118.git","clone_url":"https://github.com/ahammad-reyad/fels_118.git","svn_url":"https://github.com/ahammad-reyad/fels_118","homepage":null,"size":54,"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":"653574f6aafbf3f619a53bc578bda28916fe6b78","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":53102632,"name":"fels_118","full_name":"framgia/fels_118","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_118","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_118","forks_url":"https://api.github.com/repos/framgia/fels_118/forks","keys_url":"https://api.github.com/repos/framgia/fels_118/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_118/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_118/teams","hooks_url":"https://api.github.com/repos/framgia/fels_118/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_118/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_118/events","assignees_url":"https://api.github.com/repos/framgia/fels_118/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_118/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_118/tags","blobs_url":"https://api.github.com/repos/framgia/fels_118/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_118/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_118/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_118/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_118/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_118/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_118/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_118/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_118/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_118/subscription","commits_url":"https://api.github.com/repos/framgia/fels_118/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_118/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_118/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_118/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_118/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_118/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_118/merges","archive_url":"https://api.github.com/repos/framgia/fels_118/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_118/downloads","issues_url":"https://api.github.com/repos/framgia/fels_118/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_118/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_118/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_118/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_118/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_118/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_118/deployments","created_at":"2016-03-04T02:54:15Z","updated_at":"2016-03-04T02:54:15Z","pushed_at":"2016-04-07T11:26:56Z","git_url":"git://github.com/framgia/fels_118.git","ssh_url":"git@github.com:framgia/fels_118.git","clone_url":"https://github.com/framgia/fels_118.git","svn_url":"https://github.com/framgia/fels_118","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":null,"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/framgia/fels_118/pulls/8"},"html":{"href":"https://github.com/framgia/fels_118/pull/8"},"issue":{"href":"https://api.github.com/repos/framgia/fels_118/issues/8"},"comments":{"href":"https://api.github.com/repos/framgia/fels_118/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_118/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_118/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_118/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_118/statuses/099c7096445f6bd4a6b5ed0780b603c2e279880b"}}}}