{"action":"created","comment":{"url":"https://api.github.com/repos/iExperience/ixjourney/pulls/comments/70299818","id":70299818,"diff_hunk":"@@ -1,16 +1,18 @@\n class Users::BasicInfoController < ApplicationController\n+  before_action :authenticate_user!, :load_user\n+  \n   def update\n-    if find_user.update(basic_info_params)\n+    if @user.update(basic_info_params)","path":"app/controllers/users/basic_info_controller.rb","position":6,"original_position":6,"commit_id":"39ecaa215ff9275e42a01636e0018b2a9aaa3c49","original_commit_id":"0b49d4a414dc41742f33bce7a6b83b7fa73e3e46","user":{"login":"khanotations","id":1446043,"avatar_url":"https://avatars.githubusercontent.com/u/1446043?v=3","gravatar_id":"","url":"https://api.github.com/users/khanotations","html_url":"https://github.com/khanotations","followers_url":"https://api.github.com/users/khanotations/followers","following_url":"https://api.github.com/users/khanotations/following{/other_user}","gists_url":"https://api.github.com/users/khanotations/gists{/gist_id}","starred_url":"https://api.github.com/users/khanotations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khanotations/subscriptions","organizations_url":"https://api.github.com/users/khanotations/orgs","repos_url":"https://api.github.com/users/khanotations/repos","events_url":"https://api.github.com/users/khanotations/events{/privacy}","received_events_url":"https://api.github.com/users/khanotations/received_events","type":"User","site_admin":false},"body":"Shouldn't this be for `current_user` only?","created_at":"2016-07-11T17:24:23Z","updated_at":"2016-07-11T17:24:23Z","html_url":"https://github.com/iExperience/ixjourney/pull/25#discussion_r70299818","pull_request_url":"https://api.github.com/repos/iExperience/ixjourney/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/iExperience/ixjourney/pulls/comments/70299818"},"html":{"href":"https://github.com/iExperience/ixjourney/pull/25#discussion_r70299818"},"pull_request":{"href":"https://api.github.com/repos/iExperience/ixjourney/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/iExperience/ixjourney/pulls/25","id":76988408,"html_url":"https://github.com/iExperience/ixjourney/pull/25","diff_url":"https://github.com/iExperience/ixjourney/pull/25.diff","patch_url":"https://github.com/iExperience/ixjourney/pull/25.patch","issue_url":"https://api.github.com/repos/iExperience/ixjourney/issues/25","number":25,"state":"open","locked":false,"title":"Feature: Apply System","user":{"login":"JoshBroomberg","id":12767768,"avatar_url":"https://avatars.githubusercontent.com/u/12767768?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshBroomberg","html_url":"https://github.com/JoshBroomberg","followers_url":"https://api.github.com/users/JoshBroomberg/followers","following_url":"https://api.github.com/users/JoshBroomberg/following{/other_user}","gists_url":"https://api.github.com/users/JoshBroomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshBroomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshBroomberg/subscriptions","organizations_url":"https://api.github.com/users/JoshBroomberg/orgs","repos_url":"https://api.github.com/users/JoshBroomberg/repos","events_url":"https://api.github.com/users/JoshBroomberg/events{/privacy}","received_events_url":"https://api.github.com/users/JoshBroomberg/received_events","type":"User","site_admin":false},"body":"**DO NOT MERGE**\r\n\r\nThis is a review PR for the entire apply system. @khanotations, fire away.\r\n\r\nSome notes:\r\n- Not super happy with the sessions controller/api namespace. We need to do better here. Any ideas for where this code belongs?\r\n- The validations and callback cycle on the journey/journey stage flow is trippy. I will need to explain in person why things are the way they are. \r\n- I have tried to be as clean as possible.  \r\n\r\n","created_at":"2016-07-11T17:02:27Z","updated_at":"2016-07-11T17:24:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bfdd1504681e541c95cba960c6e31b25ae58431e","assignee":{"login":"khanotations","id":1446043,"avatar_url":"https://avatars.githubusercontent.com/u/1446043?v=3","gravatar_id":"","url":"https://api.github.com/users/khanotations","html_url":"https://github.com/khanotations","followers_url":"https://api.github.com/users/khanotations/followers","following_url":"https://api.github.com/users/khanotations/following{/other_user}","gists_url":"https://api.github.com/users/khanotations/gists{/gist_id}","starred_url":"https://api.github.com/users/khanotations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khanotations/subscriptions","organizations_url":"https://api.github.com/users/khanotations/orgs","repos_url":"https://api.github.com/users/khanotations/repos","events_url":"https://api.github.com/users/khanotations/events{/privacy}","received_events_url":"https://api.github.com/users/khanotations/received_events","type":"User","site_admin":false},"assignees":[{"login":"khanotations","id":1446043,"avatar_url":"https://avatars.githubusercontent.com/u/1446043?v=3","gravatar_id":"","url":"https://api.github.com/users/khanotations","html_url":"https://github.com/khanotations","followers_url":"https://api.github.com/users/khanotations/followers","following_url":"https://api.github.com/users/khanotations/following{/other_user}","gists_url":"https://api.github.com/users/khanotations/gists{/gist_id}","starred_url":"https://api.github.com/users/khanotations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khanotations/subscriptions","organizations_url":"https://api.github.com/users/khanotations/orgs","repos_url":"https://api.github.com/users/khanotations/repos","events_url":"https://api.github.com/users/khanotations/events{/privacy}","received_events_url":"https://api.github.com/users/khanotations/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/iExperience/ixjourney/pulls/25/commits","review_comments_url":"https://api.github.com/repos/iExperience/ixjourney/pulls/25/comments","review_comment_url":"https://api.github.com/repos/iExperience/ixjourney/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iExperience/ixjourney/issues/25/comments","statuses_url":"https://api.github.com/repos/iExperience/ixjourney/statuses/39ecaa215ff9275e42a01636e0018b2a9aaa3c49","head":{"label":"iExperience:feature-apply","ref":"feature-apply","sha":"39ecaa215ff9275e42a01636e0018b2a9aaa3c49","user":{"login":"iExperience","id":7220596,"avatar_url":"https://avatars.githubusercontent.com/u/7220596?v=3","gravatar_id":"","url":"https://api.github.com/users/iExperience","html_url":"https://github.com/iExperience","followers_url":"https://api.github.com/users/iExperience/followers","following_url":"https://api.github.com/users/iExperience/following{/other_user}","gists_url":"https://api.github.com/users/iExperience/gists{/gist_id}","starred_url":"https://api.github.com/users/iExperience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iExperience/subscriptions","organizations_url":"https://api.github.com/users/iExperience/orgs","repos_url":"https://api.github.com/users/iExperience/repos","events_url":"https://api.github.com/users/iExperience/events{/privacy}","received_events_url":"https://api.github.com/users/iExperience/received_events","type":"Organization","site_admin":false},"repo":{"id":61960222,"name":"ixjourney","full_name":"iExperience/ixjourney","owner":{"login":"iExperience","id":7220596,"avatar_url":"https://avatars.githubusercontent.com/u/7220596?v=3","gravatar_id":"","url":"https://api.github.com/users/iExperience","html_url":"https://github.com/iExperience","followers_url":"https://api.github.com/users/iExperience/followers","following_url":"https://api.github.com/users/iExperience/following{/other_user}","gists_url":"https://api.github.com/users/iExperience/gists{/gist_id}","starred_url":"https://api.github.com/users/iExperience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iExperience/subscriptions","organizations_url":"https://api.github.com/users/iExperience/orgs","repos_url":"https://api.github.com/users/iExperience/repos","events_url":"https://api.github.com/users/iExperience/events{/privacy}","received_events_url":"https://api.github.com/users/iExperience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iExperience/ixjourney","description":"Second generation of the students portal","fork":false,"url":"https://api.github.com/repos/iExperience/ixjourney","forks_url":"https://api.github.com/repos/iExperience/ixjourney/forks","keys_url":"https://api.github.com/repos/iExperience/ixjourney/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iExperience/ixjourney/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iExperience/ixjourney/teams","hooks_url":"https://api.github.com/repos/iExperience/ixjourney/hooks","issue_events_url":"https://api.github.com/repos/iExperience/ixjourney/issues/events{/number}","events_url":"https://api.github.com/repos/iExperience/ixjourney/events","assignees_url":"https://api.github.com/repos/iExperience/ixjourney/assignees{/user}","branches_url":"https://api.github.com/repos/iExperience/ixjourney/branches{/branch}","tags_url":"https://api.github.com/repos/iExperience/ixjourney/tags","blobs_url":"https://api.github.com/repos/iExperience/ixjourney/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iExperience/ixjourney/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iExperience/ixjourney/git/refs{/sha}","trees_url":"https://api.github.com/repos/iExperience/ixjourney/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iExperience/ixjourney/statuses/{sha}","languages_url":"https://api.github.com/repos/iExperience/ixjourney/languages","stargazers_url":"https://api.github.com/repos/iExperience/ixjourney/stargazers","contributors_url":"https://api.github.com/repos/iExperience/ixjourney/contributors","subscribers_url":"https://api.github.com/repos/iExperience/ixjourney/subscribers","subscription_url":"https://api.github.com/repos/iExperience/ixjourney/subscription","commits_url":"https://api.github.com/repos/iExperience/ixjourney/commits{/sha}","git_commits_url":"https://api.github.com/repos/iExperience/ixjourney/git/commits{/sha}","comments_url":"https://api.github.com/repos/iExperience/ixjourney/comments{/number}","issue_comment_url":"https://api.github.com/repos/iExperience/ixjourney/issues/comments{/number}","contents_url":"https://api.github.com/repos/iExperience/ixjourney/contents/{+path}","compare_url":"https://api.github.com/repos/iExperience/ixjourney/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iExperience/ixjourney/merges","archive_url":"https://api.github.com/repos/iExperience/ixjourney/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iExperience/ixjourney/downloads","issues_url":"https://api.github.com/repos/iExperience/ixjourney/issues{/number}","pulls_url":"https://api.github.com/repos/iExperience/ixjourney/pulls{/number}","milestones_url":"https://api.github.com/repos/iExperience/ixjourney/milestones{/number}","notifications_url":"https://api.github.com/repos/iExperience/ixjourney/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iExperience/ixjourney/labels{/name}","releases_url":"https://api.github.com/repos/iExperience/ixjourney/releases{/id}","deployments_url":"https://api.github.com/repos/iExperience/ixjourney/deployments","created_at":"2016-06-25T20:22:40Z","updated_at":"2016-07-05T10:05:19Z","pushed_at":"2016-07-11T17:23:17Z","git_url":"git://github.com/iExperience/ixjourney.git","ssh_url":"git@github.com:iExperience/ixjourney.git","clone_url":"https://github.com/iExperience/ixjourney.git","svn_url":"https://github.com/iExperience/ixjourney","homepage":null,"size":11169,"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":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"iExperience:master","ref":"master","sha":"9d510cf8d2e556632dfc2ff253b057c387db213e","user":{"login":"iExperience","id":7220596,"avatar_url":"https://avatars.githubusercontent.com/u/7220596?v=3","gravatar_id":"","url":"https://api.github.com/users/iExperience","html_url":"https://github.com/iExperience","followers_url":"https://api.github.com/users/iExperience/followers","following_url":"https://api.github.com/users/iExperience/following{/other_user}","gists_url":"https://api.github.com/users/iExperience/gists{/gist_id}","starred_url":"https://api.github.com/users/iExperience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iExperience/subscriptions","organizations_url":"https://api.github.com/users/iExperience/orgs","repos_url":"https://api.github.com/users/iExperience/repos","events_url":"https://api.github.com/users/iExperience/events{/privacy}","received_events_url":"https://api.github.com/users/iExperience/received_events","type":"Organization","site_admin":false},"repo":{"id":61960222,"name":"ixjourney","full_name":"iExperience/ixjourney","owner":{"login":"iExperience","id":7220596,"avatar_url":"https://avatars.githubusercontent.com/u/7220596?v=3","gravatar_id":"","url":"https://api.github.com/users/iExperience","html_url":"https://github.com/iExperience","followers_url":"https://api.github.com/users/iExperience/followers","following_url":"https://api.github.com/users/iExperience/following{/other_user}","gists_url":"https://api.github.com/users/iExperience/gists{/gist_id}","starred_url":"https://api.github.com/users/iExperience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iExperience/subscriptions","organizations_url":"https://api.github.com/users/iExperience/orgs","repos_url":"https://api.github.com/users/iExperience/repos","events_url":"https://api.github.com/users/iExperience/events{/privacy}","received_events_url":"https://api.github.com/users/iExperience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iExperience/ixjourney","description":"Second generation of the students portal","fork":false,"url":"https://api.github.com/repos/iExperience/ixjourney","forks_url":"https://api.github.com/repos/iExperience/ixjourney/forks","keys_url":"https://api.github.com/repos/iExperience/ixjourney/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iExperience/ixjourney/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iExperience/ixjourney/teams","hooks_url":"https://api.github.com/repos/iExperience/ixjourney/hooks","issue_events_url":"https://api.github.com/repos/iExperience/ixjourney/issues/events{/number}","events_url":"https://api.github.com/repos/iExperience/ixjourney/events","assignees_url":"https://api.github.com/repos/iExperience/ixjourney/assignees{/user}","branches_url":"https://api.github.com/repos/iExperience/ixjourney/branches{/branch}","tags_url":"https://api.github.com/repos/iExperience/ixjourney/tags","blobs_url":"https://api.github.com/repos/iExperience/ixjourney/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iExperience/ixjourney/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iExperience/ixjourney/git/refs{/sha}","trees_url":"https://api.github.com/repos/iExperience/ixjourney/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iExperience/ixjourney/statuses/{sha}","languages_url":"https://api.github.com/repos/iExperience/ixjourney/languages","stargazers_url":"https://api.github.com/repos/iExperience/ixjourney/stargazers","contributors_url":"https://api.github.com/repos/iExperience/ixjourney/contributors","subscribers_url":"https://api.github.com/repos/iExperience/ixjourney/subscribers","subscription_url":"https://api.github.com/repos/iExperience/ixjourney/subscription","commits_url":"https://api.github.com/repos/iExperience/ixjourney/commits{/sha}","git_commits_url":"https://api.github.com/repos/iExperience/ixjourney/git/commits{/sha}","comments_url":"https://api.github.com/repos/iExperience/ixjourney/comments{/number}","issue_comment_url":"https://api.github.com/repos/iExperience/ixjourney/issues/comments{/number}","contents_url":"https://api.github.com/repos/iExperience/ixjourney/contents/{+path}","compare_url":"https://api.github.com/repos/iExperience/ixjourney/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iExperience/ixjourney/merges","archive_url":"https://api.github.com/repos/iExperience/ixjourney/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iExperience/ixjourney/downloads","issues_url":"https://api.github.com/repos/iExperience/ixjourney/issues{/number}","pulls_url":"https://api.github.com/repos/iExperience/ixjourney/pulls{/number}","milestones_url":"https://api.github.com/repos/iExperience/ixjourney/milestones{/number}","notifications_url":"https://api.github.com/repos/iExperience/ixjourney/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iExperience/ixjourney/labels{/name}","releases_url":"https://api.github.com/repos/iExperience/ixjourney/releases{/id}","deployments_url":"https://api.github.com/repos/iExperience/ixjourney/deployments","created_at":"2016-06-25T20:22:40Z","updated_at":"2016-07-05T10:05:19Z","pushed_at":"2016-07-11T17:23:17Z","git_url":"git://github.com/iExperience/ixjourney.git","ssh_url":"git@github.com:iExperience/ixjourney.git","clone_url":"https://github.com/iExperience/ixjourney.git","svn_url":"https://github.com/iExperience/ixjourney","homepage":null,"size":11169,"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":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iExperience/ixjourney/pulls/25"},"html":{"href":"https://github.com/iExperience/ixjourney/pull/25"},"issue":{"href":"https://api.github.com/repos/iExperience/ixjourney/issues/25"},"comments":{"href":"https://api.github.com/repos/iExperience/ixjourney/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/iExperience/ixjourney/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/iExperience/ixjourney/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iExperience/ixjourney/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/iExperience/ixjourney/statuses/39ecaa215ff9275e42a01636e0018b2a9aaa3c49"}}}}
{"actor":{"display_login":"khanotations"}}