{"action":"created","comment":{"url":"https://api.github.com/repos/DADUSHKA/web_application/pulls/comments/228721579","pull_request_review_id":169064883,"id":228721579,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODcyMTU3OQ==","diff_hunk":"@@ -5,3 +5,79 @@\n #\n #   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])\n #   Character.create(name: 'Luke', movie: movies.first)\n+User.delete_all\n+Category.delete_all\n+Test.delete_all\n+Question.delete_all\n+Answer.delete_all\n+# . . .\n+User.create!(\n+  [{name: \"Vasia\",\n+    login_status: \"user\",\n+    email: \"mail@mail.com\",\n+    password: \"qwerty\"},\n+   {name: \"Pit\",\n+    login_status: \"user\",\n+    email: \"mail@mail.ru\",\n+    password: \"12345\"},\n+   {name: \"Bob\",\n+    login_status: \"admin\",\n+    email: \"bob@mail.com\",\n+    password: \"afdfe333f\"},\n+   {name: \"Sandy\",\n+    login_status: \"user\",\n+    email: \"sandy@mail.com\",\n+    password: \"q3we9rty\"}]\n+)\n+categories = Category.create!(\n+  [{title: \"Sport\"},\n+   {title: \"Avto\"},\n+   {title: \"Food\"}]\n+)\n+Test.create!(\n+  [{title: \"Engine knowledge\",\n+    level: 1,\n+    category: categories[1]},\n+   {title: \"Driving knowledge\",\n+    level: 2,\n+    category: categories[1]},\n+   {title: \"Fotbol knowledge\",\n+    level: 1,\n+    category: categories[0]},\n+   {title: \"Hokey knowledge\",\n+    level: 2,\n+    category: categories[0]},\n+   {title: \"Knowledge of french cuisine\",\n+    level: 1,\n+    category: categories[2]},\n+   {title: \"Knowledge of italiano cuisine\",\n+    level: 2,\n+    category: categories[2]}]\n+)\n+Question.create!(\n+  [{description: \"Двигатель бывает дизельный?\",\n+    test_id: 1},","path":"db/seeds.rb","position":55,"original_position":55,"commit_id":"a4207f8ba5819bef2ab8116672da16a88c61c1c6","original_commit_id":"a4207f8ba5819bef2ab8116672da16a88c61c1c6","user":{"login":"BubuntuClu","id":13871063,"node_id":"MDQ6VXNlcjEzODcxMDYz","avatar_url":"https://avatars0.githubusercontent.com/u/13871063?v=4","gravatar_id":"","url":"https://api.github.com/users/BubuntuClu","html_url":"https://github.com/BubuntuClu","followers_url":"https://api.github.com/users/BubuntuClu/followers","following_url":"https://api.github.com/users/BubuntuClu/following{/other_user}","gists_url":"https://api.github.com/users/BubuntuClu/gists{/gist_id}","starred_url":"https://api.github.com/users/BubuntuClu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BubuntuClu/subscriptions","organizations_url":"https://api.github.com/users/BubuntuClu/orgs","repos_url":"https://api.github.com/users/BubuntuClu/repos","events_url":"https://api.github.com/users/BubuntuClu/events{/privacy}","received_events_url":"https://api.github.com/users/BubuntuClu/received_events","type":"User","site_admin":false},"body":"а тут почему не стал заменять на объекты?","created_at":"2018-10-27T18:12:04Z","updated_at":"2018-10-27T18:14:00Z","html_url":"https://github.com/DADUSHKA/web_application/pull/6#discussion_r228721579","pull_request_url":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/DADUSHKA/web_application/pulls/comments/228721579"},"html":{"href":"https://github.com/DADUSHKA/web_application/pull/6#discussion_r228721579"},"pull_request":{"href":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6","id":225788183,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1Nzg4MTgz","html_url":"https://github.com/DADUSHKA/web_application/pull/6","diff_url":"https://github.com/DADUSHKA/web_application/pull/6.diff","patch_url":"https://github.com/DADUSHKA/web_application/pull/6.patch","issue_url":"https://api.github.com/repos/DADUSHKA/web_application/issues/6","number":6,"state":"open","locked":false,"title":"Lesson three miss made","user":{"login":"DADUSHKA","id":33927289,"node_id":"MDQ6VXNlcjMzOTI3Mjg5","avatar_url":"https://avatars1.githubusercontent.com/u/33927289?v=4","gravatar_id":"","url":"https://api.github.com/users/DADUSHKA","html_url":"https://github.com/DADUSHKA","followers_url":"https://api.github.com/users/DADUSHKA/followers","following_url":"https://api.github.com/users/DADUSHKA/following{/other_user}","gists_url":"https://api.github.com/users/DADUSHKA/gists{/gist_id}","starred_url":"https://api.github.com/users/DADUSHKA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DADUSHKA/subscriptions","organizations_url":"https://api.github.com/users/DADUSHKA/orgs","repos_url":"https://api.github.com/users/DADUSHKA/repos","events_url":"https://api.github.com/users/DADUSHKA/events{/privacy}","received_events_url":"https://api.github.com/users/DADUSHKA/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-25T14:44:08Z","updated_at":"2018-10-27T18:14:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5df6ffac974561052a504d567ee18654edcbf082","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6/commits","review_comments_url":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6/comments","review_comment_url":"https://api.github.com/repos/DADUSHKA/web_application/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DADUSHKA/web_application/issues/6/comments","statuses_url":"https://api.github.com/repos/DADUSHKA/web_application/statuses/a4207f8ba5819bef2ab8116672da16a88c61c1c6","head":{"label":"DADUSHKA:lesson_three_miss_made","ref":"lesson_three_miss_made","sha":"a4207f8ba5819bef2ab8116672da16a88c61c1c6","user":{"login":"DADUSHKA","id":33927289,"node_id":"MDQ6VXNlcjMzOTI3Mjg5","avatar_url":"https://avatars1.githubusercontent.com/u/33927289?v=4","gravatar_id":"","url":"https://api.github.com/users/DADUSHKA","html_url":"https://github.com/DADUSHKA","followers_url":"https://api.github.com/users/DADUSHKA/followers","following_url":"https://api.github.com/users/DADUSHKA/following{/other_user}","gists_url":"https://api.github.com/users/DADUSHKA/gists{/gist_id}","starred_url":"https://api.github.com/users/DADUSHKA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DADUSHKA/subscriptions","organizations_url":"https://api.github.com/users/DADUSHKA/orgs","repos_url":"https://api.github.com/users/DADUSHKA/repos","events_url":"https://api.github.com/users/DADUSHKA/events{/privacy}","received_events_url":"https://api.github.com/users/DADUSHKA/received_events","type":"User","site_admin":false},"repo":{"id":153738312,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3MzgzMTI=","name":"web_application","full_name":"DADUSHKA/web_application","private":false,"owner":{"login":"DADUSHKA","id":33927289,"node_id":"MDQ6VXNlcjMzOTI3Mjg5","avatar_url":"https://avatars1.githubusercontent.com/u/33927289?v=4","gravatar_id":"","url":"https://api.github.com/users/DADUSHKA","html_url":"https://github.com/DADUSHKA","followers_url":"https://api.github.com/users/DADUSHKA/followers","following_url":"https://api.github.com/users/DADUSHKA/following{/other_user}","gists_url":"https://api.github.com/users/DADUSHKA/gists{/gist_id}","starred_url":"https://api.github.com/users/DADUSHKA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DADUSHKA/subscriptions","organizations_url":"https://api.github.com/users/DADUSHKA/orgs","repos_url":"https://api.github.com/users/DADUSHKA/repos","events_url":"https://api.github.com/users/DADUSHKA/events{/privacy}","received_events_url":"https://api.github.com/users/DADUSHKA/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DADUSHKA/web_application","description":null,"fork":false,"url":"https://api.github.com/repos/DADUSHKA/web_application","forks_url":"https://api.github.com/repos/DADUSHKA/web_application/forks","keys_url":"https://api.github.com/repos/DADUSHKA/web_application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DADUSHKA/web_application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DADUSHKA/web_application/teams","hooks_url":"https://api.github.com/repos/DADUSHKA/web_application/hooks","issue_events_url":"https://api.github.com/repos/DADUSHKA/web_application/issues/events{/number}","events_url":"https://api.github.com/repos/DADUSHKA/web_application/events","assignees_url":"https://api.github.com/repos/DADUSHKA/web_application/assignees{/user}","branches_url":"https://api.github.com/repos/DADUSHKA/web_application/branches{/branch}","tags_url":"https://api.github.com/repos/DADUSHKA/web_application/tags","blobs_url":"https://api.github.com/repos/DADUSHKA/web_application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DADUSHKA/web_application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DADUSHKA/web_application/git/refs{/sha}","trees_url":"https://api.github.com/repos/DADUSHKA/web_application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DADUSHKA/web_application/statuses/{sha}","languages_url":"https://api.github.com/repos/DADUSHKA/web_application/languages","stargazers_url":"https://api.github.com/repos/DADUSHKA/web_application/stargazers","contributors_url":"https://api.github.com/repos/DADUSHKA/web_application/contributors","subscribers_url":"https://api.github.com/repos/DADUSHKA/web_application/subscribers","subscription_url":"https://api.github.com/repos/DADUSHKA/web_application/subscription","commits_url":"https://api.github.com/repos/DADUSHKA/web_application/commits{/sha}","git_commits_url":"https://api.github.com/repos/DADUSHKA/web_application/git/commits{/sha}","comments_url":"https://api.github.com/repos/DADUSHKA/web_application/comments{/number}","issue_comment_url":"https://api.github.com/repos/DADUSHKA/web_application/issues/comments{/number}","contents_url":"https://api.github.com/repos/DADUSHKA/web_application/contents/{+path}","compare_url":"https://api.github.com/repos/DADUSHKA/web_application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DADUSHKA/web_application/merges","archive_url":"https://api.github.com/repos/DADUSHKA/web_application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DADUSHKA/web_application/downloads","issues_url":"https://api.github.com/repos/DADUSHKA/web_application/issues{/number}","pulls_url":"https://api.github.com/repos/DADUSHKA/web_application/pulls{/number}","milestones_url":"https://api.github.com/repos/DADUSHKA/web_application/milestones{/number}","notifications_url":"https://api.github.com/repos/DADUSHKA/web_application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DADUSHKA/web_application/labels{/name}","releases_url":"https://api.github.com/repos/DADUSHKA/web_application/releases{/id}","deployments_url":"https://api.github.com/repos/DADUSHKA/web_application/deployments","created_at":"2018-10-19T06:45:33Z","updated_at":"2018-10-21T14:44:31Z","pushed_at":"2018-10-27T18:06:29Z","git_url":"git://github.com/DADUSHKA/web_application.git","ssh_url":"git@github.com:DADUSHKA/web_application.git","clone_url":"https://github.com/DADUSHKA/web_application.git","svn_url":"https://github.com/DADUSHKA/web_application","homepage":null,"size":50,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"DADUSHKA:master","ref":"master","sha":"026600aa7c342cb4e99f9713db79372ab04de4ac","user":{"login":"DADUSHKA","id":33927289,"node_id":"MDQ6VXNlcjMzOTI3Mjg5","avatar_url":"https://avatars1.githubusercontent.com/u/33927289?v=4","gravatar_id":"","url":"https://api.github.com/users/DADUSHKA","html_url":"https://github.com/DADUSHKA","followers_url":"https://api.github.com/users/DADUSHKA/followers","following_url":"https://api.github.com/users/DADUSHKA/following{/other_user}","gists_url":"https://api.github.com/users/DADUSHKA/gists{/gist_id}","starred_url":"https://api.github.com/users/DADUSHKA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DADUSHKA/subscriptions","organizations_url":"https://api.github.com/users/DADUSHKA/orgs","repos_url":"https://api.github.com/users/DADUSHKA/repos","events_url":"https://api.github.com/users/DADUSHKA/events{/privacy}","received_events_url":"https://api.github.com/users/DADUSHKA/received_events","type":"User","site_admin":false},"repo":{"id":153738312,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3MzgzMTI=","name":"web_application","full_name":"DADUSHKA/web_application","private":false,"owner":{"login":"DADUSHKA","id":33927289,"node_id":"MDQ6VXNlcjMzOTI3Mjg5","avatar_url":"https://avatars1.githubusercontent.com/u/33927289?v=4","gravatar_id":"","url":"https://api.github.com/users/DADUSHKA","html_url":"https://github.com/DADUSHKA","followers_url":"https://api.github.com/users/DADUSHKA/followers","following_url":"https://api.github.com/users/DADUSHKA/following{/other_user}","gists_url":"https://api.github.com/users/DADUSHKA/gists{/gist_id}","starred_url":"https://api.github.com/users/DADUSHKA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DADUSHKA/subscriptions","organizations_url":"https://api.github.com/users/DADUSHKA/orgs","repos_url":"https://api.github.com/users/DADUSHKA/repos","events_url":"https://api.github.com/users/DADUSHKA/events{/privacy}","received_events_url":"https://api.github.com/users/DADUSHKA/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DADUSHKA/web_application","description":null,"fork":false,"url":"https://api.github.com/repos/DADUSHKA/web_application","forks_url":"https://api.github.com/repos/DADUSHKA/web_application/forks","keys_url":"https://api.github.com/repos/DADUSHKA/web_application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DADUSHKA/web_application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DADUSHKA/web_application/teams","hooks_url":"https://api.github.com/repos/DADUSHKA/web_application/hooks","issue_events_url":"https://api.github.com/repos/DADUSHKA/web_application/issues/events{/number}","events_url":"https://api.github.com/repos/DADUSHKA/web_application/events","assignees_url":"https://api.github.com/repos/DADUSHKA/web_application/assignees{/user}","branches_url":"https://api.github.com/repos/DADUSHKA/web_application/branches{/branch}","tags_url":"https://api.github.com/repos/DADUSHKA/web_application/tags","blobs_url":"https://api.github.com/repos/DADUSHKA/web_application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DADUSHKA/web_application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DADUSHKA/web_application/git/refs{/sha}","trees_url":"https://api.github.com/repos/DADUSHKA/web_application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DADUSHKA/web_application/statuses/{sha}","languages_url":"https://api.github.com/repos/DADUSHKA/web_application/languages","stargazers_url":"https://api.github.com/repos/DADUSHKA/web_application/stargazers","contributors_url":"https://api.github.com/repos/DADUSHKA/web_application/contributors","subscribers_url":"https://api.github.com/repos/DADUSHKA/web_application/subscribers","subscription_url":"https://api.github.com/repos/DADUSHKA/web_application/subscription","commits_url":"https://api.github.com/repos/DADUSHKA/web_application/commits{/sha}","git_commits_url":"https://api.github.com/repos/DADUSHKA/web_application/git/commits{/sha}","comments_url":"https://api.github.com/repos/DADUSHKA/web_application/comments{/number}","issue_comment_url":"https://api.github.com/repos/DADUSHKA/web_application/issues/comments{/number}","contents_url":"https://api.github.com/repos/DADUSHKA/web_application/contents/{+path}","compare_url":"https://api.github.com/repos/DADUSHKA/web_application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DADUSHKA/web_application/merges","archive_url":"https://api.github.com/repos/DADUSHKA/web_application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DADUSHKA/web_application/downloads","issues_url":"https://api.github.com/repos/DADUSHKA/web_application/issues{/number}","pulls_url":"https://api.github.com/repos/DADUSHKA/web_application/pulls{/number}","milestones_url":"https://api.github.com/repos/DADUSHKA/web_application/milestones{/number}","notifications_url":"https://api.github.com/repos/DADUSHKA/web_application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DADUSHKA/web_application/labels{/name}","releases_url":"https://api.github.com/repos/DADUSHKA/web_application/releases{/id}","deployments_url":"https://api.github.com/repos/DADUSHKA/web_application/deployments","created_at":"2018-10-19T06:45:33Z","updated_at":"2018-10-21T14:44:31Z","pushed_at":"2018-10-27T18:06:29Z","git_url":"git://github.com/DADUSHKA/web_application.git","ssh_url":"git@github.com:DADUSHKA/web_application.git","clone_url":"https://github.com/DADUSHKA/web_application.git","svn_url":"https://github.com/DADUSHKA/web_application","homepage":null,"size":50,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6"},"html":{"href":"https://github.com/DADUSHKA/web_application/pull/6"},"issue":{"href":"https://api.github.com/repos/DADUSHKA/web_application/issues/6"},"comments":{"href":"https://api.github.com/repos/DADUSHKA/web_application/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/DADUSHKA/web_application/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DADUSHKA/web_application/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/DADUSHKA/web_application/statuses/a4207f8ba5819bef2ab8116672da16a88c61c1c6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"BubuntuClu"}}