{"action":"created","comment":{"url":"https://api.github.com/repos/whyderrick/imitable/pulls/comments/113518723","pull_request_review_id":34913995,"id":113518723,"diff_hunk":"@@ -14,5 +14,33 @@\n       <p>Looks like you don't have any poems yet.</p>\n     <% end %>\n     <%= link_to t(\"poems.actions.new\"), new_poem_path, class: \"btn button\" %>\n+    <h2>Your Submissions</h2>\n+    <% if @submissions.present? %>\n+      <table>\n+        <thead>\n+          <tr>\n+            <th>Status</th>\n+            <th>Submission Title</th>\n+            <th>Submitted On</th>\n+            <th>Submitted To</th>\n+          </tr>\n+        </thead>\n+        <tbody>\n+          <% @submissions.each do |submission| %>\n+            <tr>\n+              <td>submission.status</td>\n+              <td>submission.title</td>\n+              <td>submission.submission_date</td>\n+              <td>submission.recipient</td>\n+            </tr>\n+          <% end %>\n+        </tbody>\n+      </table>\n+    <% end %>\n+    <%= \n+      link_to t(\"submissions.actions.new\"),","path":"app/views/home/index.html.erb","position":28,"original_position":28,"commit_id":"926a02ec4367e845b5d4a885323eee71ef652b1f","original_commit_id":"926a02ec4367e845b5d4a885323eee71ef652b1f","user":{"login":"gylaz","id":116327,"avatar_url":"https://avatars0.githubusercontent.com/u/116327?v=3","gravatar_id":"","url":"https://api.github.com/users/gylaz","html_url":"https://github.com/gylaz","followers_url":"https://api.github.com/users/gylaz/followers","following_url":"https://api.github.com/users/gylaz/following{/other_user}","gists_url":"https://api.github.com/users/gylaz/gists{/gist_id}","starred_url":"https://api.github.com/users/gylaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gylaz/subscriptions","organizations_url":"https://api.github.com/users/gylaz/orgs","repos_url":"https://api.github.com/users/gylaz/repos","events_url":"https://api.github.com/users/gylaz/events{/privacy}","received_events_url":"https://api.github.com/users/gylaz/received_events","type":"User","site_admin":false},"body":"Most view code I've seen places this line together with the opening `<%=`.","created_at":"2017-04-26T17:46:54Z","updated_at":"2017-04-26T17:54:26Z","html_url":"https://github.com/whyderrick/imitable/pull/2#discussion_r113518723","pull_request_url":"https://api.github.com/repos/whyderrick/imitable/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/whyderrick/imitable/pulls/comments/113518723"},"html":{"href":"https://github.com/whyderrick/imitable/pull/2#discussion_r113518723"},"pull_request":{"href":"https://api.github.com/repos/whyderrick/imitable/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/whyderrick/imitable/pulls/2","id":117769953,"html_url":"https://github.com/whyderrick/imitable/pull/2","diff_url":"https://github.com/whyderrick/imitable/pull/2.diff","patch_url":"https://github.com/whyderrick/imitable/pull/2.patch","issue_url":"https://api.github.com/repos/whyderrick/imitable/issues/2","number":2,"state":"open","locked":false,"title":"Add Submissions Model and functionality","user":{"login":"whyderrick","id":2782358,"avatar_url":"https://avatars2.githubusercontent.com/u/2782358?v=3","gravatar_id":"","url":"https://api.github.com/users/whyderrick","html_url":"https://github.com/whyderrick","followers_url":"https://api.github.com/users/whyderrick/followers","following_url":"https://api.github.com/users/whyderrick/following{/other_user}","gists_url":"https://api.github.com/users/whyderrick/gists{/gist_id}","starred_url":"https://api.github.com/users/whyderrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyderrick/subscriptions","organizations_url":"https://api.github.com/users/whyderrick/orgs","repos_url":"https://api.github.com/users/whyderrick/repos","events_url":"https://api.github.com/users/whyderrick/events{/privacy}","received_events_url":"https://api.github.com/users/whyderrick/received_events","type":"User","site_admin":false},"body":"This PR builds out the second core model for this app and the join model between it and the `Poem` model. It also does some refactoring of PR #1 to bring what I now think are better practices.\r\n\r\nI'd particularly love feedback on which additional cases I should anticipate in the specs. ","created_at":"2017-04-26T17:35:55Z","updated_at":"2017-04-26T17:54:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"785ab97f98dac7a465b5debb7faef9d0f427b4c4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/whyderrick/imitable/pulls/2/commits","review_comments_url":"https://api.github.com/repos/whyderrick/imitable/pulls/2/comments","review_comment_url":"https://api.github.com/repos/whyderrick/imitable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whyderrick/imitable/issues/2/comments","statuses_url":"https://api.github.com/repos/whyderrick/imitable/statuses/926a02ec4367e845b5d4a885323eee71ef652b1f","head":{"label":"whyderrick:dc-add-submissions","ref":"dc-add-submissions","sha":"926a02ec4367e845b5d4a885323eee71ef652b1f","user":{"login":"whyderrick","id":2782358,"avatar_url":"https://avatars2.githubusercontent.com/u/2782358?v=3","gravatar_id":"","url":"https://api.github.com/users/whyderrick","html_url":"https://github.com/whyderrick","followers_url":"https://api.github.com/users/whyderrick/followers","following_url":"https://api.github.com/users/whyderrick/following{/other_user}","gists_url":"https://api.github.com/users/whyderrick/gists{/gist_id}","starred_url":"https://api.github.com/users/whyderrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyderrick/subscriptions","organizations_url":"https://api.github.com/users/whyderrick/orgs","repos_url":"https://api.github.com/users/whyderrick/repos","events_url":"https://api.github.com/users/whyderrick/events{/privacy}","received_events_url":"https://api.github.com/users/whyderrick/received_events","type":"User","site_admin":false},"repo":{"id":88333159,"name":"imitable","full_name":"whyderrick/imitable","owner":{"login":"whyderrick","id":2782358,"avatar_url":"https://avatars2.githubusercontent.com/u/2782358?v=3","gravatar_id":"","url":"https://api.github.com/users/whyderrick","html_url":"https://github.com/whyderrick","followers_url":"https://api.github.com/users/whyderrick/followers","following_url":"https://api.github.com/users/whyderrick/following{/other_user}","gists_url":"https://api.github.com/users/whyderrick/gists{/gist_id}","starred_url":"https://api.github.com/users/whyderrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyderrick/subscriptions","organizations_url":"https://api.github.com/users/whyderrick/orgs","repos_url":"https://api.github.com/users/whyderrick/repos","events_url":"https://api.github.com/users/whyderrick/events{/privacy}","received_events_url":"https://api.github.com/users/whyderrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whyderrick/imitable","description":"An companion app/extension for Submittable submissions","fork":false,"url":"https://api.github.com/repos/whyderrick/imitable","forks_url":"https://api.github.com/repos/whyderrick/imitable/forks","keys_url":"https://api.github.com/repos/whyderrick/imitable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whyderrick/imitable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whyderrick/imitable/teams","hooks_url":"https://api.github.com/repos/whyderrick/imitable/hooks","issue_events_url":"https://api.github.com/repos/whyderrick/imitable/issues/events{/number}","events_url":"https://api.github.com/repos/whyderrick/imitable/events","assignees_url":"https://api.github.com/repos/whyderrick/imitable/assignees{/user}","branches_url":"https://api.github.com/repos/whyderrick/imitable/branches{/branch}","tags_url":"https://api.github.com/repos/whyderrick/imitable/tags","blobs_url":"https://api.github.com/repos/whyderrick/imitable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whyderrick/imitable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whyderrick/imitable/git/refs{/sha}","trees_url":"https://api.github.com/repos/whyderrick/imitable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whyderrick/imitable/statuses/{sha}","languages_url":"https://api.github.com/repos/whyderrick/imitable/languages","stargazers_url":"https://api.github.com/repos/whyderrick/imitable/stargazers","contributors_url":"https://api.github.com/repos/whyderrick/imitable/contributors","subscribers_url":"https://api.github.com/repos/whyderrick/imitable/subscribers","subscription_url":"https://api.github.com/repos/whyderrick/imitable/subscription","commits_url":"https://api.github.com/repos/whyderrick/imitable/commits{/sha}","git_commits_url":"https://api.github.com/repos/whyderrick/imitable/git/commits{/sha}","comments_url":"https://api.github.com/repos/whyderrick/imitable/comments{/number}","issue_comment_url":"https://api.github.com/repos/whyderrick/imitable/issues/comments{/number}","contents_url":"https://api.github.com/repos/whyderrick/imitable/contents/{+path}","compare_url":"https://api.github.com/repos/whyderrick/imitable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whyderrick/imitable/merges","archive_url":"https://api.github.com/repos/whyderrick/imitable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whyderrick/imitable/downloads","issues_url":"https://api.github.com/repos/whyderrick/imitable/issues{/number}","pulls_url":"https://api.github.com/repos/whyderrick/imitable/pulls{/number}","milestones_url":"https://api.github.com/repos/whyderrick/imitable/milestones{/number}","notifications_url":"https://api.github.com/repos/whyderrick/imitable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whyderrick/imitable/labels{/name}","releases_url":"https://api.github.com/repos/whyderrick/imitable/releases{/id}","deployments_url":"https://api.github.com/repos/whyderrick/imitable/deployments","created_at":"2017-04-15T08:02:40Z","updated_at":"2017-04-15T08:04:12Z","pushed_at":"2017-04-26T17:35:55Z","git_url":"git://github.com/whyderrick/imitable.git","ssh_url":"git@github.com:whyderrick/imitable.git","clone_url":"https://github.com/whyderrick/imitable.git","svn_url":"https://github.com/whyderrick/imitable","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"whyderrick:master","ref":"master","sha":"423f399c83c4a0834152d87c982d3b31a0347441","user":{"login":"whyderrick","id":2782358,"avatar_url":"https://avatars2.githubusercontent.com/u/2782358?v=3","gravatar_id":"","url":"https://api.github.com/users/whyderrick","html_url":"https://github.com/whyderrick","followers_url":"https://api.github.com/users/whyderrick/followers","following_url":"https://api.github.com/users/whyderrick/following{/other_user}","gists_url":"https://api.github.com/users/whyderrick/gists{/gist_id}","starred_url":"https://api.github.com/users/whyderrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyderrick/subscriptions","organizations_url":"https://api.github.com/users/whyderrick/orgs","repos_url":"https://api.github.com/users/whyderrick/repos","events_url":"https://api.github.com/users/whyderrick/events{/privacy}","received_events_url":"https://api.github.com/users/whyderrick/received_events","type":"User","site_admin":false},"repo":{"id":88333159,"name":"imitable","full_name":"whyderrick/imitable","owner":{"login":"whyderrick","id":2782358,"avatar_url":"https://avatars2.githubusercontent.com/u/2782358?v=3","gravatar_id":"","url":"https://api.github.com/users/whyderrick","html_url":"https://github.com/whyderrick","followers_url":"https://api.github.com/users/whyderrick/followers","following_url":"https://api.github.com/users/whyderrick/following{/other_user}","gists_url":"https://api.github.com/users/whyderrick/gists{/gist_id}","starred_url":"https://api.github.com/users/whyderrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyderrick/subscriptions","organizations_url":"https://api.github.com/users/whyderrick/orgs","repos_url":"https://api.github.com/users/whyderrick/repos","events_url":"https://api.github.com/users/whyderrick/events{/privacy}","received_events_url":"https://api.github.com/users/whyderrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whyderrick/imitable","description":"An companion app/extension for Submittable submissions","fork":false,"url":"https://api.github.com/repos/whyderrick/imitable","forks_url":"https://api.github.com/repos/whyderrick/imitable/forks","keys_url":"https://api.github.com/repos/whyderrick/imitable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whyderrick/imitable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whyderrick/imitable/teams","hooks_url":"https://api.github.com/repos/whyderrick/imitable/hooks","issue_events_url":"https://api.github.com/repos/whyderrick/imitable/issues/events{/number}","events_url":"https://api.github.com/repos/whyderrick/imitable/events","assignees_url":"https://api.github.com/repos/whyderrick/imitable/assignees{/user}","branches_url":"https://api.github.com/repos/whyderrick/imitable/branches{/branch}","tags_url":"https://api.github.com/repos/whyderrick/imitable/tags","blobs_url":"https://api.github.com/repos/whyderrick/imitable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whyderrick/imitable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whyderrick/imitable/git/refs{/sha}","trees_url":"https://api.github.com/repos/whyderrick/imitable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whyderrick/imitable/statuses/{sha}","languages_url":"https://api.github.com/repos/whyderrick/imitable/languages","stargazers_url":"https://api.github.com/repos/whyderrick/imitable/stargazers","contributors_url":"https://api.github.com/repos/whyderrick/imitable/contributors","subscribers_url":"https://api.github.com/repos/whyderrick/imitable/subscribers","subscription_url":"https://api.github.com/repos/whyderrick/imitable/subscription","commits_url":"https://api.github.com/repos/whyderrick/imitable/commits{/sha}","git_commits_url":"https://api.github.com/repos/whyderrick/imitable/git/commits{/sha}","comments_url":"https://api.github.com/repos/whyderrick/imitable/comments{/number}","issue_comment_url":"https://api.github.com/repos/whyderrick/imitable/issues/comments{/number}","contents_url":"https://api.github.com/repos/whyderrick/imitable/contents/{+path}","compare_url":"https://api.github.com/repos/whyderrick/imitable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whyderrick/imitable/merges","archive_url":"https://api.github.com/repos/whyderrick/imitable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whyderrick/imitable/downloads","issues_url":"https://api.github.com/repos/whyderrick/imitable/issues{/number}","pulls_url":"https://api.github.com/repos/whyderrick/imitable/pulls{/number}","milestones_url":"https://api.github.com/repos/whyderrick/imitable/milestones{/number}","notifications_url":"https://api.github.com/repos/whyderrick/imitable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whyderrick/imitable/labels{/name}","releases_url":"https://api.github.com/repos/whyderrick/imitable/releases{/id}","deployments_url":"https://api.github.com/repos/whyderrick/imitable/deployments","created_at":"2017-04-15T08:02:40Z","updated_at":"2017-04-15T08:04:12Z","pushed_at":"2017-04-26T17:35:55Z","git_url":"git://github.com/whyderrick/imitable.git","ssh_url":"git@github.com:whyderrick/imitable.git","clone_url":"https://github.com/whyderrick/imitable.git","svn_url":"https://github.com/whyderrick/imitable","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whyderrick/imitable/pulls/2"},"html":{"href":"https://github.com/whyderrick/imitable/pull/2"},"issue":{"href":"https://api.github.com/repos/whyderrick/imitable/issues/2"},"comments":{"href":"https://api.github.com/repos/whyderrick/imitable/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/whyderrick/imitable/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/whyderrick/imitable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whyderrick/imitable/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/whyderrick/imitable/statuses/926a02ec4367e845b5d4a885323eee71ef652b1f"}}}}
{"actor":{"display_login":"gylaz"}}