{"action":"created","comment":{"url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/comments/57822022","id":57822022,"diff_hunk":"@@ -18,21 +18,24 @@ def home\n   skip_before_filter :authenticate_user!, only: [:register, :set_password]\n \n   def register\n-    @user = User.find_by_voter_token(params[:voter_token])\n-    sign_in(@user)\n+    #@user = User.find_by_voter_token(params[:voter_token])\n+    #sign_in(@user)\n   end\n \n   def set_password\n+    @user = User.find_by_voter_token(params[:voter_token])\n+    sign_in(@user)\n     @user = current_user\n   end\n \n   def update\n     @user = current_user\n-    if params[:password] == params[:confirm_password]\n+    if params[:password] == params[:password_confirmation]\n       @user.password = params[:password]\n-      redirect_to \"home\", :notice => \"Your Password has been updated!\"\n+      binding.pry\n+      redirect_to \"/users/home\", :notice => \"Your Password has been updated!\"","path":"app/controllers/users_controller.rb","position":23,"original_position":23,"commit_id":"2cf2aeb1d3a2a3cf524dd613ef83a153868cedf9","original_commit_id":"2cf2aeb1d3a2a3cf524dd613ef83a153868cedf9","user":{"login":"sumeetjain","id":29388,"avatar_url":"https://avatars.githubusercontent.com/u/29388?v=3","gravatar_id":"","url":"https://api.github.com/users/sumeetjain","html_url":"https://github.com/sumeetjain","followers_url":"https://api.github.com/users/sumeetjain/followers","following_url":"https://api.github.com/users/sumeetjain/following{/other_user}","gists_url":"https://api.github.com/users/sumeetjain/gists{/gist_id}","starred_url":"https://api.github.com/users/sumeetjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumeetjain/subscriptions","organizations_url":"https://api.github.com/users/sumeetjain/orgs","repos_url":"https://api.github.com/users/sumeetjain/repos","events_url":"https://api.github.com/users/sumeetjain/events{/privacy}","received_events_url":"https://api.github.com/users/sumeetjain/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax.","created_at":"2016-03-30T00:17:42Z","updated_at":"2016-03-30T00:17:42Z","html_url":"https://github.com/omahacodeschool/tag-awards/pull/124#discussion_r57822022","pull_request_url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/comments/57822022"},"html":{"href":"https://github.com/omahacodeschool/tag-awards/pull/124#discussion_r57822022"},"pull_request":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124","id":64551093,"html_url":"https://github.com/omahacodeschool/tag-awards/pull/124","diff_url":"https://github.com/omahacodeschool/tag-awards/pull/124.diff","patch_url":"https://github.com/omahacodeschool/tag-awards/pull/124.patch","issue_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/124","number":124,"state":"open","locked":false,"title":"Issue 123. Fix issues with users setting password.","user":{"login":"amymariewall","id":14079223,"avatar_url":"https://avatars.githubusercontent.com/u/14079223?v=3","gravatar_id":"","url":"https://api.github.com/users/amymariewall","html_url":"https://github.com/amymariewall","followers_url":"https://api.github.com/users/amymariewall/followers","following_url":"https://api.github.com/users/amymariewall/following{/other_user}","gists_url":"https://api.github.com/users/amymariewall/gists{/gist_id}","starred_url":"https://api.github.com/users/amymariewall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amymariewall/subscriptions","organizations_url":"https://api.github.com/users/amymariewall/orgs","repos_url":"https://api.github.com/users/amymariewall/repos","events_url":"https://api.github.com/users/amymariewall/events{/privacy}","received_events_url":"https://api.github.com/users/amymariewall/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-29T23:34:06Z","updated_at":"2016-03-30T00:17:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d66a88f0c6773753245fb5affa792ecc6d5516e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124/commits","review_comments_url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124/comments","review_comment_url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/124/comments","statuses_url":"https://api.github.com/repos/omahacodeschool/tag-awards/statuses/2cf2aeb1d3a2a3cf524dd613ef83a153868cedf9","head":{"label":"omahacodeschool:123-fix-issues-with-users-setting=password","ref":"123-fix-issues-with-users-setting=password","sha":"2cf2aeb1d3a2a3cf524dd613ef83a153868cedf9","user":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"repo":{"id":54342788,"name":"tag-awards","full_name":"omahacodeschool/tag-awards","owner":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omahacodeschool/tag-awards","description":null,"fork":false,"url":"https://api.github.com/repos/omahacodeschool/tag-awards","forks_url":"https://api.github.com/repos/omahacodeschool/tag-awards/forks","keys_url":"https://api.github.com/repos/omahacodeschool/tag-awards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omahacodeschool/tag-awards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omahacodeschool/tag-awards/teams","hooks_url":"https://api.github.com/repos/omahacodeschool/tag-awards/hooks","issue_events_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/events{/number}","events_url":"https://api.github.com/repos/omahacodeschool/tag-awards/events","assignees_url":"https://api.github.com/repos/omahacodeschool/tag-awards/assignees{/user}","branches_url":"https://api.github.com/repos/omahacodeschool/tag-awards/branches{/branch}","tags_url":"https://api.github.com/repos/omahacodeschool/tag-awards/tags","blobs_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/refs{/sha}","trees_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omahacodeschool/tag-awards/statuses/{sha}","languages_url":"https://api.github.com/repos/omahacodeschool/tag-awards/languages","stargazers_url":"https://api.github.com/repos/omahacodeschool/tag-awards/stargazers","contributors_url":"https://api.github.com/repos/omahacodeschool/tag-awards/contributors","subscribers_url":"https://api.github.com/repos/omahacodeschool/tag-awards/subscribers","subscription_url":"https://api.github.com/repos/omahacodeschool/tag-awards/subscription","commits_url":"https://api.github.com/repos/omahacodeschool/tag-awards/commits{/sha}","git_commits_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/commits{/sha}","comments_url":"https://api.github.com/repos/omahacodeschool/tag-awards/comments{/number}","issue_comment_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/comments{/number}","contents_url":"https://api.github.com/repos/omahacodeschool/tag-awards/contents/{+path}","compare_url":"https://api.github.com/repos/omahacodeschool/tag-awards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omahacodeschool/tag-awards/merges","archive_url":"https://api.github.com/repos/omahacodeschool/tag-awards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omahacodeschool/tag-awards/downloads","issues_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues{/number}","pulls_url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls{/number}","milestones_url":"https://api.github.com/repos/omahacodeschool/tag-awards/milestones{/number}","notifications_url":"https://api.github.com/repos/omahacodeschool/tag-awards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omahacodeschool/tag-awards/labels{/name}","releases_url":"https://api.github.com/repos/omahacodeschool/tag-awards/releases{/id}","deployments_url":"https://api.github.com/repos/omahacodeschool/tag-awards/deployments","created_at":"2016-03-20T21:59:59Z","updated_at":"2016-03-29T20:15:09Z","pushed_at":"2016-03-30T00:14:07Z","git_url":"git://github.com/omahacodeschool/tag-awards.git","ssh_url":"git@github.com:omahacodeschool/tag-awards.git","clone_url":"https://github.com/omahacodeschool/tag-awards.git","svn_url":"https://github.com/omahacodeschool/tag-awards","homepage":null,"size":262,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":85,"forks":0,"open_issues":85,"watchers":1,"default_branch":"master"}},"base":{"label":"omahacodeschool:master","ref":"master","sha":"b2a7d764fc2d54a53667b8a3c310071e9635a2a1","user":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"repo":{"id":54342788,"name":"tag-awards","full_name":"omahacodeschool/tag-awards","owner":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omahacodeschool/tag-awards","description":null,"fork":false,"url":"https://api.github.com/repos/omahacodeschool/tag-awards","forks_url":"https://api.github.com/repos/omahacodeschool/tag-awards/forks","keys_url":"https://api.github.com/repos/omahacodeschool/tag-awards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omahacodeschool/tag-awards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omahacodeschool/tag-awards/teams","hooks_url":"https://api.github.com/repos/omahacodeschool/tag-awards/hooks","issue_events_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/events{/number}","events_url":"https://api.github.com/repos/omahacodeschool/tag-awards/events","assignees_url":"https://api.github.com/repos/omahacodeschool/tag-awards/assignees{/user}","branches_url":"https://api.github.com/repos/omahacodeschool/tag-awards/branches{/branch}","tags_url":"https://api.github.com/repos/omahacodeschool/tag-awards/tags","blobs_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/refs{/sha}","trees_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omahacodeschool/tag-awards/statuses/{sha}","languages_url":"https://api.github.com/repos/omahacodeschool/tag-awards/languages","stargazers_url":"https://api.github.com/repos/omahacodeschool/tag-awards/stargazers","contributors_url":"https://api.github.com/repos/omahacodeschool/tag-awards/contributors","subscribers_url":"https://api.github.com/repos/omahacodeschool/tag-awards/subscribers","subscription_url":"https://api.github.com/repos/omahacodeschool/tag-awards/subscription","commits_url":"https://api.github.com/repos/omahacodeschool/tag-awards/commits{/sha}","git_commits_url":"https://api.github.com/repos/omahacodeschool/tag-awards/git/commits{/sha}","comments_url":"https://api.github.com/repos/omahacodeschool/tag-awards/comments{/number}","issue_comment_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/comments{/number}","contents_url":"https://api.github.com/repos/omahacodeschool/tag-awards/contents/{+path}","compare_url":"https://api.github.com/repos/omahacodeschool/tag-awards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omahacodeschool/tag-awards/merges","archive_url":"https://api.github.com/repos/omahacodeschool/tag-awards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omahacodeschool/tag-awards/downloads","issues_url":"https://api.github.com/repos/omahacodeschool/tag-awards/issues{/number}","pulls_url":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls{/number}","milestones_url":"https://api.github.com/repos/omahacodeschool/tag-awards/milestones{/number}","notifications_url":"https://api.github.com/repos/omahacodeschool/tag-awards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omahacodeschool/tag-awards/labels{/name}","releases_url":"https://api.github.com/repos/omahacodeschool/tag-awards/releases{/id}","deployments_url":"https://api.github.com/repos/omahacodeschool/tag-awards/deployments","created_at":"2016-03-20T21:59:59Z","updated_at":"2016-03-29T20:15:09Z","pushed_at":"2016-03-30T00:14:07Z","git_url":"git://github.com/omahacodeschool/tag-awards.git","ssh_url":"git@github.com:omahacodeschool/tag-awards.git","clone_url":"https://github.com/omahacodeschool/tag-awards.git","svn_url":"https://github.com/omahacodeschool/tag-awards","homepage":null,"size":262,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":85,"forks":0,"open_issues":85,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124"},"html":{"href":"https://github.com/omahacodeschool/tag-awards/pull/124"},"issue":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/124"},"comments":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/omahacodeschool/tag-awards/statuses/2cf2aeb1d3a2a3cf524dd613ef83a153868cedf9"}}}}