{"action":"created","comment":{"url":"https://api.github.com/repos/adnanhemani/enrollme/pulls/comments/89705404","pull_request_review_id":10243262,"id":89705404,"diff_hunk":"@@ -55,13 +55,13 @@\n             <h3>Selected Discussion Sections</h3>\n             <% s = Submission.find(@team.submission_id) %>\n             <% d1 = Discussion.find(s.disc1id) %>\n-            <% d2 = Discussion.find(s.disc2id) %>\n-            <% d3 = Discussion.find(s.disc3id) %>\n+            <% d2 = Discussion.find_by_id(s.disc2id) %>","path":"app/views/team/team.html.erb","position":6,"original_position":6,"commit_id":"04981ce4687c33c86e44dc6a3b71b399eb0996f6","original_commit_id":"04981ce4687c33c86e44dc6a3b71b399eb0996f6","user":{"login":"jjlgao","id":7111576,"avatar_url":"https://avatars.githubusercontent.com/u/7111576?v=3","gravatar_id":"","url":"https://api.github.com/users/jjlgao","html_url":"https://github.com/jjlgao","followers_url":"https://api.github.com/users/jjlgao/followers","following_url":"https://api.github.com/users/jjlgao/following{/other_user}","gists_url":"https://api.github.com/users/jjlgao/gists{/gist_id}","starred_url":"https://api.github.com/users/jjlgao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjlgao/subscriptions","organizations_url":"https://api.github.com/users/jjlgao/orgs","repos_url":"https://api.github.com/users/jjlgao/repos","events_url":"https://api.github.com/users/jjlgao/events{/privacy}","received_events_url":"https://api.github.com/users/jjlgao/received_events","type":"User","site_admin":false},"body":"A little messy seeing so much variable assignment in erb, should this go in the controller? Really not a big deal if it's too much work.","created_at":"2016-11-28T00:45:55Z","updated_at":"2016-11-28T00:46:10Z","html_url":"https://github.com/adnanhemani/enrollme/pull/88#discussion_r89705404","pull_request_url":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/adnanhemani/enrollme/pulls/comments/89705404"},"html":{"href":"https://github.com/adnanhemani/enrollme/pull/88#discussion_r89705404"},"pull_request":{"href":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88","id":95393135,"html_url":"https://github.com/adnanhemani/enrollme/pull/88","diff_url":"https://github.com/adnanhemani/enrollme/pull/88.diff","patch_url":"https://github.com/adnanhemani/enrollme/pull/88.patch","issue_url":"https://api.github.com/repos/adnanhemani/enrollme/issues/88","number":88,"state":"open","locked":false,"title":"submission discussions must be unique","user":{"login":"dasolyoon","id":8237881,"avatar_url":"https://avatars.githubusercontent.com/u/8237881?v=3","gravatar_id":"","url":"https://api.github.com/users/dasolyoon","html_url":"https://github.com/dasolyoon","followers_url":"https://api.github.com/users/dasolyoon/followers","following_url":"https://api.github.com/users/dasolyoon/following{/other_user}","gists_url":"https://api.github.com/users/dasolyoon/gists{/gist_id}","starred_url":"https://api.github.com/users/dasolyoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasolyoon/subscriptions","organizations_url":"https://api.github.com/users/dasolyoon/orgs","repos_url":"https://api.github.com/users/dasolyoon/repos","events_url":"https://api.github.com/users/dasolyoon/events{/privacy}","received_events_url":"https://api.github.com/users/dasolyoon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-27T05:41:39Z","updated_at":"2016-11-28T00:46:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76720de8a99a2a593a24cbf7355ccb8612cfd9b2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88/commits","review_comments_url":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88/comments","review_comment_url":"https://api.github.com/repos/adnanhemani/enrollme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adnanhemani/enrollme/issues/88/comments","statuses_url":"https://api.github.com/repos/adnanhemani/enrollme/statuses/04981ce4687c33c86e44dc6a3b71b399eb0996f6","head":{"label":"adnanhemani:dasol-limited-discussions-for-submission","ref":"dasol-limited-discussions-for-submission","sha":"04981ce4687c33c86e44dc6a3b71b399eb0996f6","user":{"login":"adnanhemani","id":10746770,"avatar_url":"https://avatars.githubusercontent.com/u/10746770?v=3","gravatar_id":"","url":"https://api.github.com/users/adnanhemani","html_url":"https://github.com/adnanhemani","followers_url":"https://api.github.com/users/adnanhemani/followers","following_url":"https://api.github.com/users/adnanhemani/following{/other_user}","gists_url":"https://api.github.com/users/adnanhemani/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanhemani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanhemani/subscriptions","organizations_url":"https://api.github.com/users/adnanhemani/orgs","repos_url":"https://api.github.com/users/adnanhemani/repos","events_url":"https://api.github.com/users/adnanhemani/events{/privacy}","received_events_url":"https://api.github.com/users/adnanhemani/received_events","type":"User","site_admin":false},"repo":{"id":70122887,"name":"enrollme","full_name":"adnanhemani/enrollme","owner":{"login":"adnanhemani","id":10746770,"avatar_url":"https://avatars.githubusercontent.com/u/10746770?v=3","gravatar_id":"","url":"https://api.github.com/users/adnanhemani","html_url":"https://github.com/adnanhemani","followers_url":"https://api.github.com/users/adnanhemani/followers","following_url":"https://api.github.com/users/adnanhemani/following{/other_user}","gists_url":"https://api.github.com/users/adnanhemani/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanhemani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanhemani/subscriptions","organizations_url":"https://api.github.com/users/adnanhemani/orgs","repos_url":"https://api.github.com/users/adnanhemani/repos","events_url":"https://api.github.com/users/adnanhemani/events{/privacy}","received_events_url":"https://api.github.com/users/adnanhemani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adnanhemani/enrollme","description":"EnrollMe","fork":false,"url":"https://api.github.com/repos/adnanhemani/enrollme","forks_url":"https://api.github.com/repos/adnanhemani/enrollme/forks","keys_url":"https://api.github.com/repos/adnanhemani/enrollme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adnanhemani/enrollme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adnanhemani/enrollme/teams","hooks_url":"https://api.github.com/repos/adnanhemani/enrollme/hooks","issue_events_url":"https://api.github.com/repos/adnanhemani/enrollme/issues/events{/number}","events_url":"https://api.github.com/repos/adnanhemani/enrollme/events","assignees_url":"https://api.github.com/repos/adnanhemani/enrollme/assignees{/user}","branches_url":"https://api.github.com/repos/adnanhemani/enrollme/branches{/branch}","tags_url":"https://api.github.com/repos/adnanhemani/enrollme/tags","blobs_url":"https://api.github.com/repos/adnanhemani/enrollme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adnanhemani/enrollme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adnanhemani/enrollme/git/refs{/sha}","trees_url":"https://api.github.com/repos/adnanhemani/enrollme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adnanhemani/enrollme/statuses/{sha}","languages_url":"https://api.github.com/repos/adnanhemani/enrollme/languages","stargazers_url":"https://api.github.com/repos/adnanhemani/enrollme/stargazers","contributors_url":"https://api.github.com/repos/adnanhemani/enrollme/contributors","subscribers_url":"https://api.github.com/repos/adnanhemani/enrollme/subscribers","subscription_url":"https://api.github.com/repos/adnanhemani/enrollme/subscription","commits_url":"https://api.github.com/repos/adnanhemani/enrollme/commits{/sha}","git_commits_url":"https://api.github.com/repos/adnanhemani/enrollme/git/commits{/sha}","comments_url":"https://api.github.com/repos/adnanhemani/enrollme/comments{/number}","issue_comment_url":"https://api.github.com/repos/adnanhemani/enrollme/issues/comments{/number}","contents_url":"https://api.github.com/repos/adnanhemani/enrollme/contents/{+path}","compare_url":"https://api.github.com/repos/adnanhemani/enrollme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adnanhemani/enrollme/merges","archive_url":"https://api.github.com/repos/adnanhemani/enrollme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adnanhemani/enrollme/downloads","issues_url":"https://api.github.com/repos/adnanhemani/enrollme/issues{/number}","pulls_url":"https://api.github.com/repos/adnanhemani/enrollme/pulls{/number}","milestones_url":"https://api.github.com/repos/adnanhemani/enrollme/milestones{/number}","notifications_url":"https://api.github.com/repos/adnanhemani/enrollme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adnanhemani/enrollme/labels{/name}","releases_url":"https://api.github.com/repos/adnanhemani/enrollme/releases{/id}","deployments_url":"https://api.github.com/repos/adnanhemani/enrollme/deployments","created_at":"2016-10-06T04:32:56Z","updated_at":"2016-11-04T03:56:35Z","pushed_at":"2016-11-28T00:31:09Z","git_url":"git://github.com/adnanhemani/enrollme.git","ssh_url":"git@github.com:adnanhemani/enrollme.git","clone_url":"https://github.com/adnanhemani/enrollme.git","svn_url":"https://github.com/adnanhemani/enrollme","homepage":null,"size":1051,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"adnanhemani:master","ref":"master","sha":"052a239777e91c8b2a5d77f99213e05dec79c212","user":{"login":"adnanhemani","id":10746770,"avatar_url":"https://avatars.githubusercontent.com/u/10746770?v=3","gravatar_id":"","url":"https://api.github.com/users/adnanhemani","html_url":"https://github.com/adnanhemani","followers_url":"https://api.github.com/users/adnanhemani/followers","following_url":"https://api.github.com/users/adnanhemani/following{/other_user}","gists_url":"https://api.github.com/users/adnanhemani/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanhemani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanhemani/subscriptions","organizations_url":"https://api.github.com/users/adnanhemani/orgs","repos_url":"https://api.github.com/users/adnanhemani/repos","events_url":"https://api.github.com/users/adnanhemani/events{/privacy}","received_events_url":"https://api.github.com/users/adnanhemani/received_events","type":"User","site_admin":false},"repo":{"id":70122887,"name":"enrollme","full_name":"adnanhemani/enrollme","owner":{"login":"adnanhemani","id":10746770,"avatar_url":"https://avatars.githubusercontent.com/u/10746770?v=3","gravatar_id":"","url":"https://api.github.com/users/adnanhemani","html_url":"https://github.com/adnanhemani","followers_url":"https://api.github.com/users/adnanhemani/followers","following_url":"https://api.github.com/users/adnanhemani/following{/other_user}","gists_url":"https://api.github.com/users/adnanhemani/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanhemani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanhemani/subscriptions","organizations_url":"https://api.github.com/users/adnanhemani/orgs","repos_url":"https://api.github.com/users/adnanhemani/repos","events_url":"https://api.github.com/users/adnanhemani/events{/privacy}","received_events_url":"https://api.github.com/users/adnanhemani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adnanhemani/enrollme","description":"EnrollMe","fork":false,"url":"https://api.github.com/repos/adnanhemani/enrollme","forks_url":"https://api.github.com/repos/adnanhemani/enrollme/forks","keys_url":"https://api.github.com/repos/adnanhemani/enrollme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adnanhemani/enrollme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adnanhemani/enrollme/teams","hooks_url":"https://api.github.com/repos/adnanhemani/enrollme/hooks","issue_events_url":"https://api.github.com/repos/adnanhemani/enrollme/issues/events{/number}","events_url":"https://api.github.com/repos/adnanhemani/enrollme/events","assignees_url":"https://api.github.com/repos/adnanhemani/enrollme/assignees{/user}","branches_url":"https://api.github.com/repos/adnanhemani/enrollme/branches{/branch}","tags_url":"https://api.github.com/repos/adnanhemani/enrollme/tags","blobs_url":"https://api.github.com/repos/adnanhemani/enrollme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adnanhemani/enrollme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adnanhemani/enrollme/git/refs{/sha}","trees_url":"https://api.github.com/repos/adnanhemani/enrollme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adnanhemani/enrollme/statuses/{sha}","languages_url":"https://api.github.com/repos/adnanhemani/enrollme/languages","stargazers_url":"https://api.github.com/repos/adnanhemani/enrollme/stargazers","contributors_url":"https://api.github.com/repos/adnanhemani/enrollme/contributors","subscribers_url":"https://api.github.com/repos/adnanhemani/enrollme/subscribers","subscription_url":"https://api.github.com/repos/adnanhemani/enrollme/subscription","commits_url":"https://api.github.com/repos/adnanhemani/enrollme/commits{/sha}","git_commits_url":"https://api.github.com/repos/adnanhemani/enrollme/git/commits{/sha}","comments_url":"https://api.github.com/repos/adnanhemani/enrollme/comments{/number}","issue_comment_url":"https://api.github.com/repos/adnanhemani/enrollme/issues/comments{/number}","contents_url":"https://api.github.com/repos/adnanhemani/enrollme/contents/{+path}","compare_url":"https://api.github.com/repos/adnanhemani/enrollme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adnanhemani/enrollme/merges","archive_url":"https://api.github.com/repos/adnanhemani/enrollme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adnanhemani/enrollme/downloads","issues_url":"https://api.github.com/repos/adnanhemani/enrollme/issues{/number}","pulls_url":"https://api.github.com/repos/adnanhemani/enrollme/pulls{/number}","milestones_url":"https://api.github.com/repos/adnanhemani/enrollme/milestones{/number}","notifications_url":"https://api.github.com/repos/adnanhemani/enrollme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adnanhemani/enrollme/labels{/name}","releases_url":"https://api.github.com/repos/adnanhemani/enrollme/releases{/id}","deployments_url":"https://api.github.com/repos/adnanhemani/enrollme/deployments","created_at":"2016-10-06T04:32:56Z","updated_at":"2016-11-04T03:56:35Z","pushed_at":"2016-11-28T00:31:09Z","git_url":"git://github.com/adnanhemani/enrollme.git","ssh_url":"git@github.com:adnanhemani/enrollme.git","clone_url":"https://github.com/adnanhemani/enrollme.git","svn_url":"https://github.com/adnanhemani/enrollme","homepage":null,"size":1051,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88"},"html":{"href":"https://github.com/adnanhemani/enrollme/pull/88"},"issue":{"href":"https://api.github.com/repos/adnanhemani/enrollme/issues/88"},"comments":{"href":"https://api.github.com/repos/adnanhemani/enrollme/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/adnanhemani/enrollme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adnanhemani/enrollme/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/adnanhemani/enrollme/statuses/04981ce4687c33c86e44dc6a3b71b399eb0996f6"}}}}
{"actor":{"display_login":"jjlgao"}}