{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_54/pulls/comments/62789413","id":62789413,"diff_hunk":"@@ -1,7 +1,20 @@\n-# This file should contain all the record creation needed to seed the database with its default values.\n-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).\n-#\n-# Examples:\n-#\n-#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\n-#   Mayor.create(name: 'Emanuel', city: cities.first)\n+4.times do\n+  Fabricate :user, name: Faker::Name.name, email: Faker::Internet.free_email,\n+    password: Faker::Internet.password(8), role: Faker::Number.between(0, 2)\n+end\n+\n+10.times do\n+  subject = Fabricate :subject, title: Faker::Lorem.characters(10), description: Faker::Lorem.sentence(3) ","path":"db/seeds.rb","position":14,"original_position":14,"commit_id":"d04b12c6936419ebd3cae09f1f7008fd6734db7e","original_commit_id":"d04b12c6936419ebd3cae09f1f7008fd6734db7e","user":{"login":"ngocquyhoang","id":10533371,"avatar_url":"https://avatars.githubusercontent.com/u/10533371?v=3","gravatar_id":"","url":"https://api.github.com/users/ngocquyhoang","html_url":"https://github.com/ngocquyhoang","followers_url":"https://api.github.com/users/ngocquyhoang/followers","following_url":"https://api.github.com/users/ngocquyhoang/following{/other_user}","gists_url":"https://api.github.com/users/ngocquyhoang/gists{/gist_id}","starred_url":"https://api.github.com/users/ngocquyhoang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngocquyhoang/subscriptions","organizations_url":"https://api.github.com/users/ngocquyhoang/orgs","repos_url":"https://api.github.com/users/ngocquyhoang/repos","events_url":"https://api.github.com/users/ngocquyhoang/events{/privacy}","received_events_url":"https://api.github.com/users/ngocquyhoang/received_events","type":"User","site_admin":false},"body":"less than 80 character","created_at":"2016-05-11T04:06:55Z","updated_at":"2016-05-11T04:06:55Z","html_url":"https://github.com/framgia/tms_54/pull/8#discussion_r62789413","pull_request_url":"https://api.github.com/repos/framgia/tms_54/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_54/pulls/comments/62789413"},"html":{"href":"https://github.com/framgia/tms_54/pull/8#discussion_r62789413"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_54/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_54/pulls/8","id":69611314,"html_url":"https://github.com/framgia/tms_54/pull/8","diff_url":"https://github.com/framgia/tms_54/pull/8.diff","patch_url":"https://github.com/framgia/tms_54/pull/8.patch","issue_url":"https://api.github.com/repos/framgia/tms_54/issues/8","number":8,"state":"open","locked":false,"title":"user_view_user_course","user":{"login":"hienmvvn","id":7650170,"avatar_url":"https://avatars.githubusercontent.com/u/7650170?v=3","gravatar_id":"","url":"https://api.github.com/users/hienmvvn","html_url":"https://github.com/hienmvvn","followers_url":"https://api.github.com/users/hienmvvn/followers","following_url":"https://api.github.com/users/hienmvvn/following{/other_user}","gists_url":"https://api.github.com/users/hienmvvn/gists{/gist_id}","starred_url":"https://api.github.com/users/hienmvvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hienmvvn/subscriptions","organizations_url":"https://api.github.com/users/hienmvvn/orgs","repos_url":"https://api.github.com/users/hienmvvn/repos","events_url":"https://api.github.com/users/hienmvvn/events{/privacy}","received_events_url":"https://api.github.com/users/hienmvvn/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-11T03:47:25Z","updated_at":"2016-05-11T04:06:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76fabbe1eb99a87a705a595cf8e4373ef006c458","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_54/pulls/8/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_54/pulls/8/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_54/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_54/issues/8/comments","statuses_url":"https://api.github.com/repos/framgia/tms_54/statuses/d04b12c6936419ebd3cae09f1f7008fd6734db7e","head":{"label":"hienmvvn:62400_user_view_user_course","ref":"62400_user_view_user_course","sha":"d04b12c6936419ebd3cae09f1f7008fd6734db7e","user":{"login":"hienmvvn","id":7650170,"avatar_url":"https://avatars.githubusercontent.com/u/7650170?v=3","gravatar_id":"","url":"https://api.github.com/users/hienmvvn","html_url":"https://github.com/hienmvvn","followers_url":"https://api.github.com/users/hienmvvn/followers","following_url":"https://api.github.com/users/hienmvvn/following{/other_user}","gists_url":"https://api.github.com/users/hienmvvn/gists{/gist_id}","starred_url":"https://api.github.com/users/hienmvvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hienmvvn/subscriptions","organizations_url":"https://api.github.com/users/hienmvvn/orgs","repos_url":"https://api.github.com/users/hienmvvn/repos","events_url":"https://api.github.com/users/hienmvvn/events{/privacy}","received_events_url":"https://api.github.com/users/hienmvvn/received_events","type":"User","site_admin":false},"repo":{"id":58188528,"name":"tms_54","full_name":"hienmvvn/tms_54","owner":{"login":"hienmvvn","id":7650170,"avatar_url":"https://avatars.githubusercontent.com/u/7650170?v=3","gravatar_id":"","url":"https://api.github.com/users/hienmvvn","html_url":"https://github.com/hienmvvn","followers_url":"https://api.github.com/users/hienmvvn/followers","following_url":"https://api.github.com/users/hienmvvn/following{/other_user}","gists_url":"https://api.github.com/users/hienmvvn/gists{/gist_id}","starred_url":"https://api.github.com/users/hienmvvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hienmvvn/subscriptions","organizations_url":"https://api.github.com/users/hienmvvn/orgs","repos_url":"https://api.github.com/users/hienmvvn/repos","events_url":"https://api.github.com/users/hienmvvn/events{/privacy}","received_events_url":"https://api.github.com/users/hienmvvn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hienmvvn/tms_54","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/hienmvvn/tms_54","forks_url":"https://api.github.com/repos/hienmvvn/tms_54/forks","keys_url":"https://api.github.com/repos/hienmvvn/tms_54/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hienmvvn/tms_54/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hienmvvn/tms_54/teams","hooks_url":"https://api.github.com/repos/hienmvvn/tms_54/hooks","issue_events_url":"https://api.github.com/repos/hienmvvn/tms_54/issues/events{/number}","events_url":"https://api.github.com/repos/hienmvvn/tms_54/events","assignees_url":"https://api.github.com/repos/hienmvvn/tms_54/assignees{/user}","branches_url":"https://api.github.com/repos/hienmvvn/tms_54/branches{/branch}","tags_url":"https://api.github.com/repos/hienmvvn/tms_54/tags","blobs_url":"https://api.github.com/repos/hienmvvn/tms_54/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hienmvvn/tms_54/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hienmvvn/tms_54/git/refs{/sha}","trees_url":"https://api.github.com/repos/hienmvvn/tms_54/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hienmvvn/tms_54/statuses/{sha}","languages_url":"https://api.github.com/repos/hienmvvn/tms_54/languages","stargazers_url":"https://api.github.com/repos/hienmvvn/tms_54/stargazers","contributors_url":"https://api.github.com/repos/hienmvvn/tms_54/contributors","subscribers_url":"https://api.github.com/repos/hienmvvn/tms_54/subscribers","subscription_url":"https://api.github.com/repos/hienmvvn/tms_54/subscription","commits_url":"https://api.github.com/repos/hienmvvn/tms_54/commits{/sha}","git_commits_url":"https://api.github.com/repos/hienmvvn/tms_54/git/commits{/sha}","comments_url":"https://api.github.com/repos/hienmvvn/tms_54/comments{/number}","issue_comment_url":"https://api.github.com/repos/hienmvvn/tms_54/issues/comments{/number}","contents_url":"https://api.github.com/repos/hienmvvn/tms_54/contents/{+path}","compare_url":"https://api.github.com/repos/hienmvvn/tms_54/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hienmvvn/tms_54/merges","archive_url":"https://api.github.com/repos/hienmvvn/tms_54/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hienmvvn/tms_54/downloads","issues_url":"https://api.github.com/repos/hienmvvn/tms_54/issues{/number}","pulls_url":"https://api.github.com/repos/hienmvvn/tms_54/pulls{/number}","milestones_url":"https://api.github.com/repos/hienmvvn/tms_54/milestones{/number}","notifications_url":"https://api.github.com/repos/hienmvvn/tms_54/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hienmvvn/tms_54/labels{/name}","releases_url":"https://api.github.com/repos/hienmvvn/tms_54/releases{/id}","deployments_url":"https://api.github.com/repos/hienmvvn/tms_54/deployments","created_at":"2016-05-06T07:15:50Z","updated_at":"2016-05-04T02:58:11Z","pushed_at":"2016-05-11T04:02:08Z","git_url":"git://github.com/hienmvvn/tms_54.git","ssh_url":"git@github.com:hienmvvn/tms_54.git","clone_url":"https://github.com/hienmvvn/tms_54.git","svn_url":"https://github.com/hienmvvn/tms_54","homepage":null,"size":50,"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":"19ee4d380c1b8c7ce01f533c99a6cc54d468ef63","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":58018325,"name":"tms_54","full_name":"framgia/tms_54","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/tms_54","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_54","forks_url":"https://api.github.com/repos/framgia/tms_54/forks","keys_url":"https://api.github.com/repos/framgia/tms_54/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_54/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_54/teams","hooks_url":"https://api.github.com/repos/framgia/tms_54/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_54/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_54/events","assignees_url":"https://api.github.com/repos/framgia/tms_54/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_54/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_54/tags","blobs_url":"https://api.github.com/repos/framgia/tms_54/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_54/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_54/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_54/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_54/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_54/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_54/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_54/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_54/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_54/subscription","commits_url":"https://api.github.com/repos/framgia/tms_54/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_54/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_54/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_54/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_54/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_54/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_54/merges","archive_url":"https://api.github.com/repos/framgia/tms_54/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_54/downloads","issues_url":"https://api.github.com/repos/framgia/tms_54/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_54/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_54/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_54/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_54/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_54/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/tms_54/deployments","created_at":"2016-05-04T02:58:11Z","updated_at":"2016-05-07T16:48:13Z","pushed_at":"2016-05-11T04:04:53Z","git_url":"git://github.com/framgia/tms_54.git","ssh_url":"git@github.com:framgia/tms_54.git","clone_url":"https://github.com/framgia/tms_54.git","svn_url":"https://github.com/framgia/tms_54","homepage":null,"size":58,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_54/pulls/8"},"html":{"href":"https://github.com/framgia/tms_54/pull/8"},"issue":{"href":"https://api.github.com/repos/framgia/tms_54/issues/8"},"comments":{"href":"https://api.github.com/repos/framgia/tms_54/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_54/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_54/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_54/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_54/statuses/d04b12c6936419ebd3cae09f1f7008fd6734db7e"}}}}