{"action":"created","comment":{"url":"https://api.github.com/repos/sparc-request/sparc-request/pulls/comments/52647917","id":52647917,"diff_hunk":"@@ -252,6 +219,10 @@ def set_arm_edited_flag_on_subjects\n   end\n \n   def update_visit_group_day day, position, portal= false\n+    # position = position.blank? ? visit_groups.last.position : position.to_i","path":"app/models/arm.rb","position":70,"original_position":70,"commit_id":"4c275921a7227a720fac3d9ff6c97d020c8b151f","original_commit_id":"4c275921a7227a720fac3d9ff6c97d020c8b151f","user":{"login":"wtholt","id":8355974,"avatar_url":"https://avatars.githubusercontent.com/u/8355974?v=3","gravatar_id":"","url":"https://api.github.com/users/wtholt","html_url":"https://github.com/wtholt","followers_url":"https://api.github.com/users/wtholt/followers","following_url":"https://api.github.com/users/wtholt/following{/other_user}","gists_url":"https://api.github.com/users/wtholt/gists{/gist_id}","starred_url":"https://api.github.com/users/wtholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtholt/subscriptions","organizations_url":"https://api.github.com/users/wtholt/orgs","repos_url":"https://api.github.com/users/wtholt/repos","events_url":"https://api.github.com/users/wtholt/events{/privacy}","received_events_url":"https://api.github.com/users/wtholt/received_events","type":"User","site_admin":false},"body":"You can delete this commented out code","created_at":"2016-02-11T18:52:33Z","updated_at":"2016-02-11T18:52:33Z","html_url":"https://github.com/sparc-request/sparc-request/pull/278#discussion_r52647917","pull_request_url":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278","_links":{"self":{"href":"https://api.github.com/repos/sparc-request/sparc-request/pulls/comments/52647917"},"html":{"href":"https://github.com/sparc-request/sparc-request/pull/278#discussion_r52647917"},"pull_request":{"href":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278"}}},"pull_request":{"url":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278","id":57556035,"html_url":"https://github.com/sparc-request/sparc-request/pull/278","diff_url":"https://github.com/sparc-request/sparc-request/pull/278.diff","patch_url":"https://github.com/sparc-request/sparc-request/pull/278.patch","issue_url":"https://api.github.com/repos/sparc-request/sparc-request/issues/278","number":278,"state":"open","locked":false,"title":"Ml visit calendar move visit button bugs","user":{"login":"marklohr","id":10396465,"avatar_url":"https://avatars.githubusercontent.com/u/10396465?v=3","gravatar_id":"","url":"https://api.github.com/users/marklohr","html_url":"https://github.com/marklohr","followers_url":"https://api.github.com/users/marklohr/followers","following_url":"https://api.github.com/users/marklohr/following{/other_user}","gists_url":"https://api.github.com/users/marklohr/gists{/gist_id}","starred_url":"https://api.github.com/users/marklohr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marklohr/subscriptions","organizations_url":"https://api.github.com/users/marklohr/orgs","repos_url":"https://api.github.com/users/marklohr/repos","events_url":"https://api.github.com/users/marklohr/events{/privacy}","received_events_url":"https://api.github.com/users/marklohr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-28T19:53:56Z","updated_at":"2016-02-11T18:52:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4dbf943eaabf0dde5daf9cb599954a6ca5b3ffb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278/commits","review_comments_url":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278/comments","review_comment_url":"https://api.github.com/repos/sparc-request/sparc-request/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sparc-request/sparc-request/issues/278/comments","statuses_url":"https://api.github.com/repos/sparc-request/sparc-request/statuses/4c275921a7227a720fac3d9ff6c97d020c8b151f","head":{"label":"sparc-request:ml-visit_calendar_move_visit_button_bugs","ref":"ml-visit_calendar_move_visit_button_bugs","sha":"4c275921a7227a720fac3d9ff6c97d020c8b151f","user":{"login":"sparc-request","id":8311757,"avatar_url":"https://avatars.githubusercontent.com/u/8311757?v=3","gravatar_id":"","url":"https://api.github.com/users/sparc-request","html_url":"https://github.com/sparc-request","followers_url":"https://api.github.com/users/sparc-request/followers","following_url":"https://api.github.com/users/sparc-request/following{/other_user}","gists_url":"https://api.github.com/users/sparc-request/gists{/gist_id}","starred_url":"https://api.github.com/users/sparc-request/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparc-request/subscriptions","organizations_url":"https://api.github.com/users/sparc-request/orgs","repos_url":"https://api.github.com/users/sparc-request/repos","events_url":"https://api.github.com/users/sparc-request/events{/privacy}","received_events_url":"https://api.github.com/users/sparc-request/received_events","type":"User","site_admin":false},"repo":{"id":22610009,"name":"sparc-request","full_name":"sparc-request/sparc-request","owner":{"login":"sparc-request","id":8311757,"avatar_url":"https://avatars.githubusercontent.com/u/8311757?v=3","gravatar_id":"","url":"https://api.github.com/users/sparc-request","html_url":"https://github.com/sparc-request","followers_url":"https://api.github.com/users/sparc-request/followers","following_url":"https://api.github.com/users/sparc-request/following{/other_user}","gists_url":"https://api.github.com/users/sparc-request/gists{/gist_id}","starred_url":"https://api.github.com/users/sparc-request/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparc-request/subscriptions","organizations_url":"https://api.github.com/users/sparc-request/orgs","repos_url":"https://api.github.com/users/sparc-request/repos","events_url":"https://api.github.com/users/sparc-request/events{/privacy}","received_events_url":"https://api.github.com/users/sparc-request/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sparc-request/sparc-request","description":"","fork":false,"url":"https://api.github.com/repos/sparc-request/sparc-request","forks_url":"https://api.github.com/repos/sparc-request/sparc-request/forks","keys_url":"https://api.github.com/repos/sparc-request/sparc-request/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparc-request/sparc-request/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparc-request/sparc-request/teams","hooks_url":"https://api.github.com/repos/sparc-request/sparc-request/hooks","issue_events_url":"https://api.github.com/repos/sparc-request/sparc-request/issues/events{/number}","events_url":"https://api.github.com/repos/sparc-request/sparc-request/events","assignees_url":"https://api.github.com/repos/sparc-request/sparc-request/assignees{/user}","branches_url":"https://api.github.com/repos/sparc-request/sparc-request/branches{/branch}","tags_url":"https://api.github.com/repos/sparc-request/sparc-request/tags","blobs_url":"https://api.github.com/repos/sparc-request/sparc-request/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparc-request/sparc-request/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparc-request/sparc-request/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparc-request/sparc-request/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparc-request/sparc-request/statuses/{sha}","languages_url":"https://api.github.com/repos/sparc-request/sparc-request/languages","stargazers_url":"https://api.github.com/repos/sparc-request/sparc-request/stargazers","contributors_url":"https://api.github.com/repos/sparc-request/sparc-request/contributors","subscribers_url":"https://api.github.com/repos/sparc-request/sparc-request/subscribers","subscription_url":"https://api.github.com/repos/sparc-request/sparc-request/subscription","commits_url":"https://api.github.com/repos/sparc-request/sparc-request/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparc-request/sparc-request/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparc-request/sparc-request/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparc-request/sparc-request/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparc-request/sparc-request/contents/{+path}","compare_url":"https://api.github.com/repos/sparc-request/sparc-request/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparc-request/sparc-request/merges","archive_url":"https://api.github.com/repos/sparc-request/sparc-request/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparc-request/sparc-request/downloads","issues_url":"https://api.github.com/repos/sparc-request/sparc-request/issues{/number}","pulls_url":"https://api.github.com/repos/sparc-request/sparc-request/pulls{/number}","milestones_url":"https://api.github.com/repos/sparc-request/sparc-request/milestones{/number}","notifications_url":"https://api.github.com/repos/sparc-request/sparc-request/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparc-request/sparc-request/labels{/name}","releases_url":"https://api.github.com/repos/sparc-request/sparc-request/releases{/id}","deployments_url":"https://api.github.com/repos/sparc-request/sparc-request/deployments","created_at":"2014-08-04T15:47:11Z","updated_at":"2016-01-12T00:47:02Z","pushed_at":"2016-02-11T18:07:08Z","git_url":"git://github.com/sparc-request/sparc-request.git","ssh_url":"git@github.com:sparc-request/sparc-request.git","clone_url":"https://github.com/sparc-request/sparc-request.git","svn_url":"https://github.com/sparc-request/sparc-request","homepage":null,"size":18542,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"sparc-request:master","ref":"master","sha":"3efe988d8df70ac0ba89852b4a8aa50a64698fdb","user":{"login":"sparc-request","id":8311757,"avatar_url":"https://avatars.githubusercontent.com/u/8311757?v=3","gravatar_id":"","url":"https://api.github.com/users/sparc-request","html_url":"https://github.com/sparc-request","followers_url":"https://api.github.com/users/sparc-request/followers","following_url":"https://api.github.com/users/sparc-request/following{/other_user}","gists_url":"https://api.github.com/users/sparc-request/gists{/gist_id}","starred_url":"https://api.github.com/users/sparc-request/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparc-request/subscriptions","organizations_url":"https://api.github.com/users/sparc-request/orgs","repos_url":"https://api.github.com/users/sparc-request/repos","events_url":"https://api.github.com/users/sparc-request/events{/privacy}","received_events_url":"https://api.github.com/users/sparc-request/received_events","type":"User","site_admin":false},"repo":{"id":22610009,"name":"sparc-request","full_name":"sparc-request/sparc-request","owner":{"login":"sparc-request","id":8311757,"avatar_url":"https://avatars.githubusercontent.com/u/8311757?v=3","gravatar_id":"","url":"https://api.github.com/users/sparc-request","html_url":"https://github.com/sparc-request","followers_url":"https://api.github.com/users/sparc-request/followers","following_url":"https://api.github.com/users/sparc-request/following{/other_user}","gists_url":"https://api.github.com/users/sparc-request/gists{/gist_id}","starred_url":"https://api.github.com/users/sparc-request/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparc-request/subscriptions","organizations_url":"https://api.github.com/users/sparc-request/orgs","repos_url":"https://api.github.com/users/sparc-request/repos","events_url":"https://api.github.com/users/sparc-request/events{/privacy}","received_events_url":"https://api.github.com/users/sparc-request/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sparc-request/sparc-request","description":"","fork":false,"url":"https://api.github.com/repos/sparc-request/sparc-request","forks_url":"https://api.github.com/repos/sparc-request/sparc-request/forks","keys_url":"https://api.github.com/repos/sparc-request/sparc-request/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparc-request/sparc-request/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparc-request/sparc-request/teams","hooks_url":"https://api.github.com/repos/sparc-request/sparc-request/hooks","issue_events_url":"https://api.github.com/repos/sparc-request/sparc-request/issues/events{/number}","events_url":"https://api.github.com/repos/sparc-request/sparc-request/events","assignees_url":"https://api.github.com/repos/sparc-request/sparc-request/assignees{/user}","branches_url":"https://api.github.com/repos/sparc-request/sparc-request/branches{/branch}","tags_url":"https://api.github.com/repos/sparc-request/sparc-request/tags","blobs_url":"https://api.github.com/repos/sparc-request/sparc-request/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparc-request/sparc-request/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparc-request/sparc-request/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparc-request/sparc-request/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparc-request/sparc-request/statuses/{sha}","languages_url":"https://api.github.com/repos/sparc-request/sparc-request/languages","stargazers_url":"https://api.github.com/repos/sparc-request/sparc-request/stargazers","contributors_url":"https://api.github.com/repos/sparc-request/sparc-request/contributors","subscribers_url":"https://api.github.com/repos/sparc-request/sparc-request/subscribers","subscription_url":"https://api.github.com/repos/sparc-request/sparc-request/subscription","commits_url":"https://api.github.com/repos/sparc-request/sparc-request/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparc-request/sparc-request/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparc-request/sparc-request/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparc-request/sparc-request/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparc-request/sparc-request/contents/{+path}","compare_url":"https://api.github.com/repos/sparc-request/sparc-request/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparc-request/sparc-request/merges","archive_url":"https://api.github.com/repos/sparc-request/sparc-request/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparc-request/sparc-request/downloads","issues_url":"https://api.github.com/repos/sparc-request/sparc-request/issues{/number}","pulls_url":"https://api.github.com/repos/sparc-request/sparc-request/pulls{/number}","milestones_url":"https://api.github.com/repos/sparc-request/sparc-request/milestones{/number}","notifications_url":"https://api.github.com/repos/sparc-request/sparc-request/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparc-request/sparc-request/labels{/name}","releases_url":"https://api.github.com/repos/sparc-request/sparc-request/releases{/id}","deployments_url":"https://api.github.com/repos/sparc-request/sparc-request/deployments","created_at":"2014-08-04T15:47:11Z","updated_at":"2016-01-12T00:47:02Z","pushed_at":"2016-02-11T18:07:08Z","git_url":"git://github.com/sparc-request/sparc-request.git","ssh_url":"git@github.com:sparc-request/sparc-request.git","clone_url":"https://github.com/sparc-request/sparc-request.git","svn_url":"https://github.com/sparc-request/sparc-request","homepage":null,"size":18542,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278"},"html":{"href":"https://github.com/sparc-request/sparc-request/pull/278"},"issue":{"href":"https://api.github.com/repos/sparc-request/sparc-request/issues/278"},"comments":{"href":"https://api.github.com/repos/sparc-request/sparc-request/issues/278/comments"},"review_comments":{"href":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278/comments"},"review_comment":{"href":"https://api.github.com/repos/sparc-request/sparc-request/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sparc-request/sparc-request/pulls/278/commits"},"statuses":{"href":"https://api.github.com/repos/sparc-request/sparc-request/statuses/4c275921a7227a720fac3d9ff6c97d020c8b151f"}}}}