{"action":"created","comment":{"url":"https://api.github.com/repos/Arkweid/qanda/pulls/comments/75823158","id":75823158,"diff_hunk":"@@ -1,6 +1,14 @@\n class User < ActiveRecord::Base\n+  has_many :questions, dependent: :destroy\n+  has_many :answers, dependent: :destroy\n+\n   # Include default devise modules. Others available are:","path":"app/models/user.rb","position":5,"original_position":5,"commit_id":"ab8eefde823fac875129627c574a5c0d6385298e","original_commit_id":"ab8eefde823fac875129627c574a5c0d6385298e","user":{"login":"Arkweid","id":10600777,"avatar_url":"https://avatars.githubusercontent.com/u/10600777?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkweid","html_url":"https://github.com/Arkweid","followers_url":"https://api.github.com/users/Arkweid/followers","following_url":"https://api.github.com/users/Arkweid/following{/other_user}","gists_url":"https://api.github.com/users/Arkweid/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkweid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkweid/subscriptions","organizations_url":"https://api.github.com/users/Arkweid/orgs","repos_url":"https://api.github.com/users/Arkweid/repos","events_url":"https://api.github.com/users/Arkweid/events{/privacy}","received_events_url":"https://api.github.com/users/Arkweid/received_events","type":"User","site_admin":false},"body":"Оставлял его для себя, чтобы не забыть что это идет от devise. Удалим-с.","created_at":"2016-08-23T08:37:22Z","updated_at":"2016-08-23T08:37:22Z","html_url":"https://github.com/Arkweid/qanda/pull/7#discussion_r75823158","pull_request_url":"https://api.github.com/repos/Arkweid/qanda/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/Arkweid/qanda/pulls/comments/75823158"},"html":{"href":"https://github.com/Arkweid/qanda/pull/7#discussion_r75823158"},"pull_request":{"href":"https://api.github.com/repos/Arkweid/qanda/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Arkweid/qanda/pulls/7","id":82317202,"html_url":"https://github.com/Arkweid/qanda/pull/7","diff_url":"https://github.com/Arkweid/qanda/pull/7.diff","patch_url":"https://github.com/Arkweid/qanda/pull/7.patch","issue_url":"https://api.github.com/repos/Arkweid/qanda/issues/7","number":7,"state":"open","locked":false,"title":"lesson 5","user":{"login":"Arkweid","id":10600777,"avatar_url":"https://avatars.githubusercontent.com/u/10600777?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkweid","html_url":"https://github.com/Arkweid","followers_url":"https://api.github.com/users/Arkweid/followers","following_url":"https://api.github.com/users/Arkweid/following{/other_user}","gists_url":"https://api.github.com/users/Arkweid/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkweid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkweid/subscriptions","organizations_url":"https://api.github.com/users/Arkweid/orgs","repos_url":"https://api.github.com/users/Arkweid/repos","events_url":"https://api.github.com/users/Arkweid/events{/privacy}","received_events_url":"https://api.github.com/users/Arkweid/received_events","type":"User","site_admin":false},"body":"Acceptance tests","created_at":"2016-08-23T07:43:02Z","updated_at":"2016-08-23T08:37:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77135afa1326eb4377345a174b5b37d73a34d8e5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Arkweid/qanda/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Arkweid/qanda/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Arkweid/qanda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Arkweid/qanda/issues/7/comments","statuses_url":"https://api.github.com/repos/Arkweid/qanda/statuses/ab8eefde823fac875129627c574a5c0d6385298e","head":{"label":"Arkweid:acceptance-tests","ref":"acceptance-tests","sha":"ab8eefde823fac875129627c574a5c0d6385298e","user":{"login":"Arkweid","id":10600777,"avatar_url":"https://avatars.githubusercontent.com/u/10600777?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkweid","html_url":"https://github.com/Arkweid","followers_url":"https://api.github.com/users/Arkweid/followers","following_url":"https://api.github.com/users/Arkweid/following{/other_user}","gists_url":"https://api.github.com/users/Arkweid/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkweid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkweid/subscriptions","organizations_url":"https://api.github.com/users/Arkweid/orgs","repos_url":"https://api.github.com/users/Arkweid/repos","events_url":"https://api.github.com/users/Arkweid/events{/privacy}","received_events_url":"https://api.github.com/users/Arkweid/received_events","type":"User","site_admin":false},"repo":{"id":65325711,"name":"qanda","full_name":"Arkweid/qanda","owner":{"login":"Arkweid","id":10600777,"avatar_url":"https://avatars.githubusercontent.com/u/10600777?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkweid","html_url":"https://github.com/Arkweid","followers_url":"https://api.github.com/users/Arkweid/followers","following_url":"https://api.github.com/users/Arkweid/following{/other_user}","gists_url":"https://api.github.com/users/Arkweid/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkweid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkweid/subscriptions","organizations_url":"https://api.github.com/users/Arkweid/orgs","repos_url":"https://api.github.com/users/Arkweid/repos","events_url":"https://api.github.com/users/Arkweid/events{/privacy}","received_events_url":"https://api.github.com/users/Arkweid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Arkweid/qanda","description":"Questions and Answers service project","fork":false,"url":"https://api.github.com/repos/Arkweid/qanda","forks_url":"https://api.github.com/repos/Arkweid/qanda/forks","keys_url":"https://api.github.com/repos/Arkweid/qanda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Arkweid/qanda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Arkweid/qanda/teams","hooks_url":"https://api.github.com/repos/Arkweid/qanda/hooks","issue_events_url":"https://api.github.com/repos/Arkweid/qanda/issues/events{/number}","events_url":"https://api.github.com/repos/Arkweid/qanda/events","assignees_url":"https://api.github.com/repos/Arkweid/qanda/assignees{/user}","branches_url":"https://api.github.com/repos/Arkweid/qanda/branches{/branch}","tags_url":"https://api.github.com/repos/Arkweid/qanda/tags","blobs_url":"https://api.github.com/repos/Arkweid/qanda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Arkweid/qanda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Arkweid/qanda/git/refs{/sha}","trees_url":"https://api.github.com/repos/Arkweid/qanda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Arkweid/qanda/statuses/{sha}","languages_url":"https://api.github.com/repos/Arkweid/qanda/languages","stargazers_url":"https://api.github.com/repos/Arkweid/qanda/stargazers","contributors_url":"https://api.github.com/repos/Arkweid/qanda/contributors","subscribers_url":"https://api.github.com/repos/Arkweid/qanda/subscribers","subscription_url":"https://api.github.com/repos/Arkweid/qanda/subscription","commits_url":"https://api.github.com/repos/Arkweid/qanda/commits{/sha}","git_commits_url":"https://api.github.com/repos/Arkweid/qanda/git/commits{/sha}","comments_url":"https://api.github.com/repos/Arkweid/qanda/comments{/number}","issue_comment_url":"https://api.github.com/repos/Arkweid/qanda/issues/comments{/number}","contents_url":"https://api.github.com/repos/Arkweid/qanda/contents/{+path}","compare_url":"https://api.github.com/repos/Arkweid/qanda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Arkweid/qanda/merges","archive_url":"https://api.github.com/repos/Arkweid/qanda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Arkweid/qanda/downloads","issues_url":"https://api.github.com/repos/Arkweid/qanda/issues{/number}","pulls_url":"https://api.github.com/repos/Arkweid/qanda/pulls{/number}","milestones_url":"https://api.github.com/repos/Arkweid/qanda/milestones{/number}","notifications_url":"https://api.github.com/repos/Arkweid/qanda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Arkweid/qanda/labels{/name}","releases_url":"https://api.github.com/repos/Arkweid/qanda/releases{/id}","deployments_url":"https://api.github.com/repos/Arkweid/qanda/deployments","created_at":"2016-08-09T20:24:29Z","updated_at":"2016-08-09T20:25:15Z","pushed_at":"2016-08-23T07:43:02Z","git_url":"git://github.com/Arkweid/qanda.git","ssh_url":"git@github.com:Arkweid/qanda.git","clone_url":"https://github.com/Arkweid/qanda.git","svn_url":"https://github.com/Arkweid/qanda","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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":"Arkweid:master","ref":"master","sha":"c802aa75e101e02a5f7076accf812ca93122bd5b","user":{"login":"Arkweid","id":10600777,"avatar_url":"https://avatars.githubusercontent.com/u/10600777?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkweid","html_url":"https://github.com/Arkweid","followers_url":"https://api.github.com/users/Arkweid/followers","following_url":"https://api.github.com/users/Arkweid/following{/other_user}","gists_url":"https://api.github.com/users/Arkweid/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkweid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkweid/subscriptions","organizations_url":"https://api.github.com/users/Arkweid/orgs","repos_url":"https://api.github.com/users/Arkweid/repos","events_url":"https://api.github.com/users/Arkweid/events{/privacy}","received_events_url":"https://api.github.com/users/Arkweid/received_events","type":"User","site_admin":false},"repo":{"id":65325711,"name":"qanda","full_name":"Arkweid/qanda","owner":{"login":"Arkweid","id":10600777,"avatar_url":"https://avatars.githubusercontent.com/u/10600777?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkweid","html_url":"https://github.com/Arkweid","followers_url":"https://api.github.com/users/Arkweid/followers","following_url":"https://api.github.com/users/Arkweid/following{/other_user}","gists_url":"https://api.github.com/users/Arkweid/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkweid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkweid/subscriptions","organizations_url":"https://api.github.com/users/Arkweid/orgs","repos_url":"https://api.github.com/users/Arkweid/repos","events_url":"https://api.github.com/users/Arkweid/events{/privacy}","received_events_url":"https://api.github.com/users/Arkweid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Arkweid/qanda","description":"Questions and Answers service project","fork":false,"url":"https://api.github.com/repos/Arkweid/qanda","forks_url":"https://api.github.com/repos/Arkweid/qanda/forks","keys_url":"https://api.github.com/repos/Arkweid/qanda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Arkweid/qanda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Arkweid/qanda/teams","hooks_url":"https://api.github.com/repos/Arkweid/qanda/hooks","issue_events_url":"https://api.github.com/repos/Arkweid/qanda/issues/events{/number}","events_url":"https://api.github.com/repos/Arkweid/qanda/events","assignees_url":"https://api.github.com/repos/Arkweid/qanda/assignees{/user}","branches_url":"https://api.github.com/repos/Arkweid/qanda/branches{/branch}","tags_url":"https://api.github.com/repos/Arkweid/qanda/tags","blobs_url":"https://api.github.com/repos/Arkweid/qanda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Arkweid/qanda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Arkweid/qanda/git/refs{/sha}","trees_url":"https://api.github.com/repos/Arkweid/qanda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Arkweid/qanda/statuses/{sha}","languages_url":"https://api.github.com/repos/Arkweid/qanda/languages","stargazers_url":"https://api.github.com/repos/Arkweid/qanda/stargazers","contributors_url":"https://api.github.com/repos/Arkweid/qanda/contributors","subscribers_url":"https://api.github.com/repos/Arkweid/qanda/subscribers","subscription_url":"https://api.github.com/repos/Arkweid/qanda/subscription","commits_url":"https://api.github.com/repos/Arkweid/qanda/commits{/sha}","git_commits_url":"https://api.github.com/repos/Arkweid/qanda/git/commits{/sha}","comments_url":"https://api.github.com/repos/Arkweid/qanda/comments{/number}","issue_comment_url":"https://api.github.com/repos/Arkweid/qanda/issues/comments{/number}","contents_url":"https://api.github.com/repos/Arkweid/qanda/contents/{+path}","compare_url":"https://api.github.com/repos/Arkweid/qanda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Arkweid/qanda/merges","archive_url":"https://api.github.com/repos/Arkweid/qanda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Arkweid/qanda/downloads","issues_url":"https://api.github.com/repos/Arkweid/qanda/issues{/number}","pulls_url":"https://api.github.com/repos/Arkweid/qanda/pulls{/number}","milestones_url":"https://api.github.com/repos/Arkweid/qanda/milestones{/number}","notifications_url":"https://api.github.com/repos/Arkweid/qanda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Arkweid/qanda/labels{/name}","releases_url":"https://api.github.com/repos/Arkweid/qanda/releases{/id}","deployments_url":"https://api.github.com/repos/Arkweid/qanda/deployments","created_at":"2016-08-09T20:24:29Z","updated_at":"2016-08-09T20:25:15Z","pushed_at":"2016-08-23T07:43:02Z","git_url":"git://github.com/Arkweid/qanda.git","ssh_url":"git@github.com:Arkweid/qanda.git","clone_url":"https://github.com/Arkweid/qanda.git","svn_url":"https://github.com/Arkweid/qanda","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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/Arkweid/qanda/pulls/7"},"html":{"href":"https://github.com/Arkweid/qanda/pull/7"},"issue":{"href":"https://api.github.com/repos/Arkweid/qanda/issues/7"},"comments":{"href":"https://api.github.com/repos/Arkweid/qanda/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Arkweid/qanda/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Arkweid/qanda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Arkweid/qanda/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Arkweid/qanda/statuses/ab8eefde823fac875129627c574a5c0d6385298e"}}}}
{"actor":{"display_login":"Arkweid"}}