{"action":"created","comment":{"url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/comments/63023542","id":63023542,"diff_hunk":"@@ -0,0 +1,32 @@\n+class RegistrationsController < ApplicationController\n+  before_action :authenticate_user!\n+  before_action :redirect_if_confirmed\n+\n+  def finish_signup\n+  end\n+\n+  def send_confirmation_email\n+    # ??? valid data?","path":"app/controllers/registrations_controller.rb","position":9,"original_position":9,"commit_id":"ad30af3d7a39101a55b11e16f842411836739dd0","original_commit_id":"ad30af3d7a39101a55b11e16f842411836739dd0","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"body":"Проверку на что?\r\n\r\nВ общем, сначала разберись с основной проблемой – созданием фейкового пользователя. А потом остальное само сложится.","created_at":"2016-05-12T13:53:14Z","updated_at":"2016-05-12T13:53:14Z","html_url":"https://github.com/Paprikas/stackoverflow_clone/pull/10#discussion_r63023542","pull_request_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/comments/63023542"},"html":{"href":"https://github.com/Paprikas/stackoverflow_clone/pull/10#discussion_r63023542"},"pull_request":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/10","id":69820016,"html_url":"https://github.com/Paprikas/stackoverflow_clone/pull/10","diff_url":"https://github.com/Paprikas/stackoverflow_clone/pull/10.diff","patch_url":"https://github.com/Paprikas/stackoverflow_clone/pull/10.patch","issue_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/10","number":10,"state":"open","locked":false,"title":"12 oauth","user":{"login":"Paprikas","id":32100,"avatar_url":"https://avatars.githubusercontent.com/u/32100?v=3","gravatar_id":"","url":"https://api.github.com/users/Paprikas","html_url":"https://github.com/Paprikas","followers_url":"https://api.github.com/users/Paprikas/followers","following_url":"https://api.github.com/users/Paprikas/following{/other_user}","gists_url":"https://api.github.com/users/Paprikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Paprikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paprikas/subscriptions","organizations_url":"https://api.github.com/users/Paprikas/orgs","repos_url":"https://api.github.com/users/Paprikas/repos","events_url":"https://api.github.com/users/Paprikas/events{/privacy}","received_events_url":"https://api.github.com/users/Paprikas/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-12T11:24:45Z","updated_at":"2016-05-12T13:53:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d4f1e434401c6768c0a19aba1257ff1026549a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/10/comments","statuses_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/statuses/ad30af3d7a39101a55b11e16f842411836739dd0","head":{"label":"Paprikas:12_oauth","ref":"12_oauth","sha":"ad30af3d7a39101a55b11e16f842411836739dd0","user":{"login":"Paprikas","id":32100,"avatar_url":"https://avatars.githubusercontent.com/u/32100?v=3","gravatar_id":"","url":"https://api.github.com/users/Paprikas","html_url":"https://github.com/Paprikas","followers_url":"https://api.github.com/users/Paprikas/followers","following_url":"https://api.github.com/users/Paprikas/following{/other_user}","gists_url":"https://api.github.com/users/Paprikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Paprikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paprikas/subscriptions","organizations_url":"https://api.github.com/users/Paprikas/orgs","repos_url":"https://api.github.com/users/Paprikas/repos","events_url":"https://api.github.com/users/Paprikas/events{/privacy}","received_events_url":"https://api.github.com/users/Paprikas/received_events","type":"User","site_admin":false},"repo":{"id":56971689,"name":"stackoverflow_clone","full_name":"Paprikas/stackoverflow_clone","owner":{"login":"Paprikas","id":32100,"avatar_url":"https://avatars.githubusercontent.com/u/32100?v=3","gravatar_id":"","url":"https://api.github.com/users/Paprikas","html_url":"https://github.com/Paprikas","followers_url":"https://api.github.com/users/Paprikas/followers","following_url":"https://api.github.com/users/Paprikas/following{/other_user}","gists_url":"https://api.github.com/users/Paprikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Paprikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paprikas/subscriptions","organizations_url":"https://api.github.com/users/Paprikas/orgs","repos_url":"https://api.github.com/users/Paprikas/repos","events_url":"https://api.github.com/users/Paprikas/events{/privacy}","received_events_url":"https://api.github.com/users/Paprikas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Paprikas/stackoverflow_clone","description":"Resume app","fork":false,"url":"https://api.github.com/repos/Paprikas/stackoverflow_clone","forks_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/forks","keys_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/teams","hooks_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/hooks","issue_events_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/events{/number}","events_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/events","assignees_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/assignees{/user}","branches_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/branches{/branch}","tags_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/tags","blobs_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/languages","stargazers_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/stargazers","contributors_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/contributors","subscribers_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/subscribers","subscription_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/subscription","commits_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/contents/{+path}","compare_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/merges","archive_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/downloads","issues_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues{/number}","pulls_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/labels{/name}","releases_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/releases{/id}","deployments_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/deployments","created_at":"2016-04-24T13:01:04Z","updated_at":"2016-04-24T13:02:07Z","pushed_at":"2016-05-12T11:24:45Z","git_url":"git://github.com/Paprikas/stackoverflow_clone.git","ssh_url":"git@github.com:Paprikas/stackoverflow_clone.git","clone_url":"https://github.com/Paprikas/stackoverflow_clone.git","svn_url":"https://github.com/Paprikas/stackoverflow_clone","homepage":null,"size":248,"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":"Paprikas:master","ref":"master","sha":"a6b8321b95ded3e84fc97a1f577ae12f9ac47b48","user":{"login":"Paprikas","id":32100,"avatar_url":"https://avatars.githubusercontent.com/u/32100?v=3","gravatar_id":"","url":"https://api.github.com/users/Paprikas","html_url":"https://github.com/Paprikas","followers_url":"https://api.github.com/users/Paprikas/followers","following_url":"https://api.github.com/users/Paprikas/following{/other_user}","gists_url":"https://api.github.com/users/Paprikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Paprikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paprikas/subscriptions","organizations_url":"https://api.github.com/users/Paprikas/orgs","repos_url":"https://api.github.com/users/Paprikas/repos","events_url":"https://api.github.com/users/Paprikas/events{/privacy}","received_events_url":"https://api.github.com/users/Paprikas/received_events","type":"User","site_admin":false},"repo":{"id":56971689,"name":"stackoverflow_clone","full_name":"Paprikas/stackoverflow_clone","owner":{"login":"Paprikas","id":32100,"avatar_url":"https://avatars.githubusercontent.com/u/32100?v=3","gravatar_id":"","url":"https://api.github.com/users/Paprikas","html_url":"https://github.com/Paprikas","followers_url":"https://api.github.com/users/Paprikas/followers","following_url":"https://api.github.com/users/Paprikas/following{/other_user}","gists_url":"https://api.github.com/users/Paprikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Paprikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paprikas/subscriptions","organizations_url":"https://api.github.com/users/Paprikas/orgs","repos_url":"https://api.github.com/users/Paprikas/repos","events_url":"https://api.github.com/users/Paprikas/events{/privacy}","received_events_url":"https://api.github.com/users/Paprikas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Paprikas/stackoverflow_clone","description":"Resume app","fork":false,"url":"https://api.github.com/repos/Paprikas/stackoverflow_clone","forks_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/forks","keys_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/teams","hooks_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/hooks","issue_events_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/events{/number}","events_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/events","assignees_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/assignees{/user}","branches_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/branches{/branch}","tags_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/tags","blobs_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/languages","stargazers_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/stargazers","contributors_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/contributors","subscribers_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/subscribers","subscription_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/subscription","commits_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/contents/{+path}","compare_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/merges","archive_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/downloads","issues_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues{/number}","pulls_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/labels{/name}","releases_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/releases{/id}","deployments_url":"https://api.github.com/repos/Paprikas/stackoverflow_clone/deployments","created_at":"2016-04-24T13:01:04Z","updated_at":"2016-04-24T13:02:07Z","pushed_at":"2016-05-12T11:24:45Z","git_url":"git://github.com/Paprikas/stackoverflow_clone.git","ssh_url":"git@github.com:Paprikas/stackoverflow_clone.git","clone_url":"https://github.com/Paprikas/stackoverflow_clone.git","svn_url":"https://github.com/Paprikas/stackoverflow_clone","homepage":null,"size":248,"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/Paprikas/stackoverflow_clone/pulls/10"},"html":{"href":"https://github.com/Paprikas/stackoverflow_clone/pull/10"},"issue":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/10"},"comments":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Paprikas/stackoverflow_clone/statuses/ad30af3d7a39101a55b11e16f842411836739dd0"}}}}