{"action":"created","comment":{"url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/comments/29558584","id":29558584,"diff_hunk":"@@ -24,6 +24,10 @@ def pending_users\n     @users_awaiting_approver = User.where(:type =>nil)\n     render 'partials/_pending_users'\n   end\n+\n+  def assign_doc_to_shift","path":"app/controllers/admins_controller.rb","position":5,"original_position":5,"commit_id":"fecb399653f4a07ddd64b58da575a7b4e0b45aec","original_commit_id":"fecb399653f4a07ddd64b58da575a7b4e0b45aec","user":{"login":"teegolden","id":5421904,"avatar_url":"https://avatars.githubusercontent.com/u/5421904?v=3","gravatar_id":"","url":"https://api.github.com/users/teegolden","html_url":"https://github.com/teegolden","followers_url":"https://api.github.com/users/teegolden/followers","following_url":"https://api.github.com/users/teegolden/following{/other_user}","gists_url":"https://api.github.com/users/teegolden/gists{/gist_id}","starred_url":"https://api.github.com/users/teegolden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teegolden/subscriptions","organizations_url":"https://api.github.com/users/teegolden/orgs","repos_url":"https://api.github.com/users/teegolden/repos","events_url":"https://api.github.com/users/teegolden/events{/privacy}","received_events_url":"https://api.github.com/users/teegolden/received_events","type":"User","site_admin":false},"body":"to help an admin assign one of the doctors in the candidate list to a shift. I need a view for that, then I will complete the method. I added methods like this in doctor and admin controllers to guide people creating the views yesterday but I need the views to actually implement the method.","created_at":"2015-05-03T18:19:58Z","updated_at":"2015-05-03T18:19:58Z","html_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler/pull/111#discussion_r29558584","pull_request_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/comments/29558584"},"html":{"href":"https://github.com/stevenbuccini/er-moonlighter-scheduler/pull/111#discussion_r29558584"},"pull_request":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111","id":34597928,"html_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler/pull/111","diff_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler/pull/111.diff","patch_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler/pull/111.patch","issue_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/111","number":111,"state":"open","locked":false,"title":"Pay period","user":{"login":"teegolden","id":5421904,"avatar_url":"https://avatars.githubusercontent.com/u/5421904?v=3","gravatar_id":"","url":"https://api.github.com/users/teegolden","html_url":"https://github.com/teegolden","followers_url":"https://api.github.com/users/teegolden/followers","following_url":"https://api.github.com/users/teegolden/following{/other_user}","gists_url":"https://api.github.com/users/teegolden/gists{/gist_id}","starred_url":"https://api.github.com/users/teegolden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teegolden/subscriptions","organizations_url":"https://api.github.com/users/teegolden/orgs","repos_url":"https://api.github.com/users/teegolden/repos","events_url":"https://api.github.com/users/teegolden/events{/privacy}","received_events_url":"https://api.github.com/users/teegolden/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-03T08:05:36Z","updated_at":"2015-05-03T18:19:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5ae335e10a4e5594e61fe4538c0757d33f3de77","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111/commits","review_comments_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111/comments","review_comment_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/111/comments","statuses_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/statuses/fecb399653f4a07ddd64b58da575a7b4e0b45aec","head":{"label":"stevenbuccini:pay_period","ref":"pay_period","sha":"fecb399653f4a07ddd64b58da575a7b4e0b45aec","user":{"login":"stevenbuccini","id":2475615,"avatar_url":"https://avatars.githubusercontent.com/u/2475615?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbuccini","html_url":"https://github.com/stevenbuccini","followers_url":"https://api.github.com/users/stevenbuccini/followers","following_url":"https://api.github.com/users/stevenbuccini/following{/other_user}","gists_url":"https://api.github.com/users/stevenbuccini/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbuccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbuccini/subscriptions","organizations_url":"https://api.github.com/users/stevenbuccini/orgs","repos_url":"https://api.github.com/users/stevenbuccini/repos","events_url":"https://api.github.com/users/stevenbuccini/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbuccini/received_events","type":"User","site_admin":false},"repo":{"id":31085326,"name":"er-moonlighter-scheduler","full_name":"stevenbuccini/er-moonlighter-scheduler","owner":{"login":"stevenbuccini","id":2475615,"avatar_url":"https://avatars.githubusercontent.com/u/2475615?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbuccini","html_url":"https://github.com/stevenbuccini","followers_url":"https://api.github.com/users/stevenbuccini/followers","following_url":"https://api.github.com/users/stevenbuccini/following{/other_user}","gists_url":"https://api.github.com/users/stevenbuccini/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbuccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbuccini/subscriptions","organizations_url":"https://api.github.com/users/stevenbuccini/orgs","repos_url":"https://api.github.com/users/stevenbuccini/repos","events_url":"https://api.github.com/users/stevenbuccini/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbuccini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler","description":"Semester project for 169","fork":false,"url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler","forks_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/forks","keys_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/teams","hooks_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/hooks","issue_events_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/events","assignees_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/tags","blobs_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/languages","stargazers_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/stargazers","contributors_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/contributors","subscribers_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/subscribers","subscription_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/subscription","commits_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/merges","archive_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/downloads","issues_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/labels{/name}","releases_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/releases{/id}","created_at":"2015-02-20T21:08:51Z","updated_at":"2015-05-03T06:52:12Z","pushed_at":"2015-05-03T17:47:11Z","git_url":"git://github.com/stevenbuccini/er-moonlighter-scheduler.git","ssh_url":"git@github.com:stevenbuccini/er-moonlighter-scheduler.git","clone_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler.git","svn_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler","homepage":null,"size":3136,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"stevenbuccini:master","ref":"master","sha":"0e9f52e9b9800acc34a18c5ddfaa8938b0deb3a9","user":{"login":"stevenbuccini","id":2475615,"avatar_url":"https://avatars.githubusercontent.com/u/2475615?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbuccini","html_url":"https://github.com/stevenbuccini","followers_url":"https://api.github.com/users/stevenbuccini/followers","following_url":"https://api.github.com/users/stevenbuccini/following{/other_user}","gists_url":"https://api.github.com/users/stevenbuccini/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbuccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbuccini/subscriptions","organizations_url":"https://api.github.com/users/stevenbuccini/orgs","repos_url":"https://api.github.com/users/stevenbuccini/repos","events_url":"https://api.github.com/users/stevenbuccini/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbuccini/received_events","type":"User","site_admin":false},"repo":{"id":31085326,"name":"er-moonlighter-scheduler","full_name":"stevenbuccini/er-moonlighter-scheduler","owner":{"login":"stevenbuccini","id":2475615,"avatar_url":"https://avatars.githubusercontent.com/u/2475615?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbuccini","html_url":"https://github.com/stevenbuccini","followers_url":"https://api.github.com/users/stevenbuccini/followers","following_url":"https://api.github.com/users/stevenbuccini/following{/other_user}","gists_url":"https://api.github.com/users/stevenbuccini/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbuccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbuccini/subscriptions","organizations_url":"https://api.github.com/users/stevenbuccini/orgs","repos_url":"https://api.github.com/users/stevenbuccini/repos","events_url":"https://api.github.com/users/stevenbuccini/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbuccini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler","description":"Semester project for 169","fork":false,"url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler","forks_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/forks","keys_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/teams","hooks_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/hooks","issue_events_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/events","assignees_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/tags","blobs_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/languages","stargazers_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/stargazers","contributors_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/contributors","subscribers_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/subscribers","subscription_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/subscription","commits_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/merges","archive_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/downloads","issues_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/labels{/name}","releases_url":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/releases{/id}","created_at":"2015-02-20T21:08:51Z","updated_at":"2015-05-03T06:52:12Z","pushed_at":"2015-05-03T17:47:11Z","git_url":"git://github.com/stevenbuccini/er-moonlighter-scheduler.git","ssh_url":"git@github.com:stevenbuccini/er-moonlighter-scheduler.git","clone_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler.git","svn_url":"https://github.com/stevenbuccini/er-moonlighter-scheduler","homepage":null,"size":3136,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111"},"html":{"href":"https://github.com/stevenbuccini/er-moonlighter-scheduler/pull/111"},"issue":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/111"},"comments":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/stevenbuccini/er-moonlighter-scheduler/statuses/fecb399653f4a07ddd64b58da575a7b4e0b45aec"}}}}