{"action":"created","comment":{"url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/comments/35774124","id":35774124,"diff_hunk":"@@ -13,10 +9,19 @@ def create\n     @user = User.new(user_params)\n   end\n \n+  def show\n+    @user = User.find(params[:id])\n+  end\n+\n   private\n \n   def user_params\n     params.require(:user).permit(:name, :email, :password, :password_confirmation)\n   end\n \n-end\n\\ No newline at end of file\n+  def authenticate\n+    render nothing: true, status: 401 unless logged_in?","path":"spec/dummy/app/controllers/users_controller.rb","position":28,"original_position":28,"commit_id":"6ee6550acbc114ed36bc1e63efb751d8b040d6f8","original_commit_id":"6ee6550acbc114ed36bc1e63efb751d8b040d6f8","user":{"login":"KatarzynaT-B","id":5598403,"avatar_url":"https://avatars.githubusercontent.com/u/5598403?v=3","gravatar_id":"","url":"https://api.github.com/users/KatarzynaT-B","html_url":"https://github.com/KatarzynaT-B","followers_url":"https://api.github.com/users/KatarzynaT-B/followers","following_url":"https://api.github.com/users/KatarzynaT-B/following{/other_user}","gists_url":"https://api.github.com/users/KatarzynaT-B/gists{/gist_id}","starred_url":"https://api.github.com/users/KatarzynaT-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KatarzynaT-B/subscriptions","organizations_url":"https://api.github.com/users/KatarzynaT-B/orgs","repos_url":"https://api.github.com/users/KatarzynaT-B/repos","events_url":"https://api.github.com/users/KatarzynaT-B/events{/privacy}","received_events_url":"https://api.github.com/users/KatarzynaT-B/received_events","type":"User","site_admin":false},"body":"ja bym to raczej nazwała 'authorize' albo jakoś tak, bo autentykacja to weryfikacja tożsamości (mniej więcej), a ta konkretna metoda służy do ograniczenia dostępu - a więc jest to już element autoryzacji :)","created_at":"2015-07-29T15:38:17Z","updated_at":"2015-07-29T15:38:17Z","html_url":"https://github.com/KatarzynaT-B/let_me_in/pull/3#discussion_r35774124","pull_request_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/comments/35774124"},"html":{"href":"https://github.com/KatarzynaT-B/let_me_in/pull/3#discussion_r35774124"},"pull_request":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/3","id":40749708,"html_url":"https://github.com/KatarzynaT-B/let_me_in/pull/3","diff_url":"https://github.com/KatarzynaT-B/let_me_in/pull/3.diff","patch_url":"https://github.com/KatarzynaT-B/let_me_in/pull/3.patch","issue_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/3","number":3,"state":"open","locked":false,"title":"Login & Password Reset - all changes","user":{"login":"moniikag","id":10743218,"avatar_url":"https://avatars.githubusercontent.com/u/10743218?v=3","gravatar_id":"","url":"https://api.github.com/users/moniikag","html_url":"https://github.com/moniikag","followers_url":"https://api.github.com/users/moniikag/followers","following_url":"https://api.github.com/users/moniikag/following{/other_user}","gists_url":"https://api.github.com/users/moniikag/gists{/gist_id}","starred_url":"https://api.github.com/users/moniikag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moniikag/subscriptions","organizations_url":"https://api.github.com/users/moniikag/orgs","repos_url":"https://api.github.com/users/moniikag/repos","events_url":"https://api.github.com/users/moniikag/events{/privacy}","received_events_url":"https://api.github.com/users/moniikag/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-24T07:37:09Z","updated_at":"2015-07-29T15:38:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50adca96eab8643d7e1b184106fe568e86072149","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/3/commits","review_comments_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/3/comments","review_comment_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/3/comments","statuses_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/statuses/6ee6550acbc114ed36bc1e63efb751d8b040d6f8","head":{"label":"KatarzynaT-B:passwordresetfromlogin","ref":"passwordresetfromlogin","sha":"6ee6550acbc114ed36bc1e63efb751d8b040d6f8","user":{"login":"KatarzynaT-B","id":5598403,"avatar_url":"https://avatars.githubusercontent.com/u/5598403?v=3","gravatar_id":"","url":"https://api.github.com/users/KatarzynaT-B","html_url":"https://github.com/KatarzynaT-B","followers_url":"https://api.github.com/users/KatarzynaT-B/followers","following_url":"https://api.github.com/users/KatarzynaT-B/following{/other_user}","gists_url":"https://api.github.com/users/KatarzynaT-B/gists{/gist_id}","starred_url":"https://api.github.com/users/KatarzynaT-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KatarzynaT-B/subscriptions","organizations_url":"https://api.github.com/users/KatarzynaT-B/orgs","repos_url":"https://api.github.com/users/KatarzynaT-B/repos","events_url":"https://api.github.com/users/KatarzynaT-B/events{/privacy}","received_events_url":"https://api.github.com/users/KatarzynaT-B/received_events","type":"User","site_admin":false},"repo":{"id":38780259,"name":"let_me_in","full_name":"KatarzynaT-B/let_me_in","owner":{"login":"KatarzynaT-B","id":5598403,"avatar_url":"https://avatars.githubusercontent.com/u/5598403?v=3","gravatar_id":"","url":"https://api.github.com/users/KatarzynaT-B","html_url":"https://github.com/KatarzynaT-B","followers_url":"https://api.github.com/users/KatarzynaT-B/followers","following_url":"https://api.github.com/users/KatarzynaT-B/following{/other_user}","gists_url":"https://api.github.com/users/KatarzynaT-B/gists{/gist_id}","starred_url":"https://api.github.com/users/KatarzynaT-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KatarzynaT-B/subscriptions","organizations_url":"https://api.github.com/users/KatarzynaT-B/orgs","repos_url":"https://api.github.com/users/KatarzynaT-B/repos","events_url":"https://api.github.com/users/KatarzynaT-B/events{/privacy}","received_events_url":"https://api.github.com/users/KatarzynaT-B/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KatarzynaT-B/let_me_in","description":"authentication plugin","fork":false,"url":"https://api.github.com/repos/KatarzynaT-B/let_me_in","forks_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/forks","keys_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/teams","hooks_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/hooks","issue_events_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/events{/number}","events_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/events","assignees_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/assignees{/user}","branches_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/branches{/branch}","tags_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/tags","blobs_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/refs{/sha}","trees_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/statuses/{sha}","languages_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/languages","stargazers_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/stargazers","contributors_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/contributors","subscribers_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/subscribers","subscription_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/subscription","commits_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/commits{/sha}","git_commits_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/commits{/sha}","comments_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/comments{/number}","issue_comment_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/comments{/number}","contents_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/contents/{+path}","compare_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/merges","archive_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/downloads","issues_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues{/number}","pulls_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls{/number}","milestones_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/milestones{/number}","notifications_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/labels{/name}","releases_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/releases{/id}","created_at":"2015-07-08T21:12:59Z","updated_at":"2015-07-08T21:13:38Z","pushed_at":"2015-07-24T07:38:48Z","git_url":"git://github.com/KatarzynaT-B/let_me_in.git","ssh_url":"git@github.com:KatarzynaT-B/let_me_in.git","clone_url":"https://github.com/KatarzynaT-B/let_me_in.git","svn_url":"https://github.com/KatarzynaT-B/let_me_in","homepage":null,"size":172,"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":"KatarzynaT-B:master","ref":"master","sha":"5758a640a81fd60152f551b08f37b0eefa6f160a","user":{"login":"KatarzynaT-B","id":5598403,"avatar_url":"https://avatars.githubusercontent.com/u/5598403?v=3","gravatar_id":"","url":"https://api.github.com/users/KatarzynaT-B","html_url":"https://github.com/KatarzynaT-B","followers_url":"https://api.github.com/users/KatarzynaT-B/followers","following_url":"https://api.github.com/users/KatarzynaT-B/following{/other_user}","gists_url":"https://api.github.com/users/KatarzynaT-B/gists{/gist_id}","starred_url":"https://api.github.com/users/KatarzynaT-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KatarzynaT-B/subscriptions","organizations_url":"https://api.github.com/users/KatarzynaT-B/orgs","repos_url":"https://api.github.com/users/KatarzynaT-B/repos","events_url":"https://api.github.com/users/KatarzynaT-B/events{/privacy}","received_events_url":"https://api.github.com/users/KatarzynaT-B/received_events","type":"User","site_admin":false},"repo":{"id":38780259,"name":"let_me_in","full_name":"KatarzynaT-B/let_me_in","owner":{"login":"KatarzynaT-B","id":5598403,"avatar_url":"https://avatars.githubusercontent.com/u/5598403?v=3","gravatar_id":"","url":"https://api.github.com/users/KatarzynaT-B","html_url":"https://github.com/KatarzynaT-B","followers_url":"https://api.github.com/users/KatarzynaT-B/followers","following_url":"https://api.github.com/users/KatarzynaT-B/following{/other_user}","gists_url":"https://api.github.com/users/KatarzynaT-B/gists{/gist_id}","starred_url":"https://api.github.com/users/KatarzynaT-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KatarzynaT-B/subscriptions","organizations_url":"https://api.github.com/users/KatarzynaT-B/orgs","repos_url":"https://api.github.com/users/KatarzynaT-B/repos","events_url":"https://api.github.com/users/KatarzynaT-B/events{/privacy}","received_events_url":"https://api.github.com/users/KatarzynaT-B/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KatarzynaT-B/let_me_in","description":"authentication plugin","fork":false,"url":"https://api.github.com/repos/KatarzynaT-B/let_me_in","forks_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/forks","keys_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/teams","hooks_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/hooks","issue_events_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/events{/number}","events_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/events","assignees_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/assignees{/user}","branches_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/branches{/branch}","tags_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/tags","blobs_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/refs{/sha}","trees_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/statuses/{sha}","languages_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/languages","stargazers_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/stargazers","contributors_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/contributors","subscribers_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/subscribers","subscription_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/subscription","commits_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/commits{/sha}","git_commits_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/git/commits{/sha}","comments_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/comments{/number}","issue_comment_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/comments{/number}","contents_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/contents/{+path}","compare_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/merges","archive_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/downloads","issues_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues{/number}","pulls_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls{/number}","milestones_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/milestones{/number}","notifications_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/labels{/name}","releases_url":"https://api.github.com/repos/KatarzynaT-B/let_me_in/releases{/id}","created_at":"2015-07-08T21:12:59Z","updated_at":"2015-07-08T21:13:38Z","pushed_at":"2015-07-24T07:38:48Z","git_url":"git://github.com/KatarzynaT-B/let_me_in.git","ssh_url":"git@github.com:KatarzynaT-B/let_me_in.git","clone_url":"https://github.com/KatarzynaT-B/let_me_in.git","svn_url":"https://github.com/KatarzynaT-B/let_me_in","homepage":null,"size":172,"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/KatarzynaT-B/let_me_in/pulls/3"},"html":{"href":"https://github.com/KatarzynaT-B/let_me_in/pull/3"},"issue":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/3"},"comments":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/KatarzynaT-B/let_me_in/statuses/6ee6550acbc114ed36bc1e63efb751d8b040d6f8"}}}}