{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/comments/199378094","pull_request_review_id":133484383,"id":199378094,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTM3ODA5NA==","diff_hunk":"@@ -0,0 +1,18 @@\n+<h2>Comedians</h2>\n+\n+<h4> Average Age: <%= @average_age %>\n+\n+<% @comedians.each do |comedian| %>\n+     <h4> <%= comedian.name %> </h4>\n+     <p> Age: <%= comedian.age %> </p>\n+     <p> Number of Specials: <%= @specials.find_all do |special|","path":"app/views/index.erb","position":8,"original_position":8,"commit_id":"2ec0074a667eb1e467cef8565ac19085369321b1","original_commit_id":"2ec0074a667eb1e467cef8565ac19085369321b1","user":{"login":"iandouglas","id":168030,"node_id":"MDQ6VXNlcjE2ODAzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/168030?v=4","gravatar_id":"","url":"https://api.github.com/users/iandouglas","html_url":"https://github.com/iandouglas","followers_url":"https://api.github.com/users/iandouglas/followers","following_url":"https://api.github.com/users/iandouglas/following{/other_user}","gists_url":"https://api.github.com/users/iandouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/iandouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iandouglas/subscriptions","organizations_url":"https://api.github.com/users/iandouglas/orgs","repos_url":"https://api.github.com/users/iandouglas/repos","events_url":"https://api.github.com/users/iandouglas/events{/privacy}","received_events_url":"https://api.github.com/users/iandouglas/received_events","type":"User","site_admin":false},"body":"There's a way better way to do this using ActiveRecord. As much as possible, we want to make the database do things like \"count stuff\" instead of making Ruby do it.","created_at":"2018-07-02T03:24:25Z","updated_at":"2018-07-02T03:32:25Z","html_url":"https://github.com/turingschool-projects/laugh_tracks/pull/8#discussion_r199378094","pull_request_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/comments/199378094"},"html":{"href":"https://github.com/turingschool-projects/laugh_tracks/pull/8#discussion_r199378094"},"pull_request":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8","id":198372443,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MzcyNDQz","html_url":"https://github.com/turingschool-projects/laugh_tracks/pull/8","diff_url":"https://github.com/turingschool-projects/laugh_tracks/pull/8.diff","patch_url":"https://github.com/turingschool-projects/laugh_tracks/pull/8.patch","issue_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/issues/8","number":8,"state":"open","locked":false,"title":"Colin Armstrong","user":{"login":"colinwarmstrong","id":37191523,"node_id":"MDQ6VXNlcjM3MTkxNTIz","avatar_url":"https://avatars0.githubusercontent.com/u/37191523?v=4","gravatar_id":"","url":"https://api.github.com/users/colinwarmstrong","html_url":"https://github.com/colinwarmstrong","followers_url":"https://api.github.com/users/colinwarmstrong/followers","following_url":"https://api.github.com/users/colinwarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/colinwarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/colinwarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinwarmstrong/subscriptions","organizations_url":"https://api.github.com/users/colinwarmstrong/orgs","repos_url":"https://api.github.com/users/colinwarmstrong/repos","events_url":"https://api.github.com/users/colinwarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/colinwarmstrong/received_events","type":"User","site_admin":false},"body":"Pull request for the Week 1 Friday Challenge 'laugh_tracks'.","created_at":"2018-06-29T16:58:30Z","updated_at":"2018-07-02T03:32:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bd5f89ffbf6300b7d919e32b857bd8461ce696f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8/commits","review_comments_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8/comments","review_comment_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/issues/8/comments","statuses_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/statuses/2ec0074a667eb1e467cef8565ac19085369321b1","head":{"label":"colinwarmstrong:master","ref":"master","sha":"2ec0074a667eb1e467cef8565ac19085369321b1","user":{"login":"colinwarmstrong","id":37191523,"node_id":"MDQ6VXNlcjM3MTkxNTIz","avatar_url":"https://avatars0.githubusercontent.com/u/37191523?v=4","gravatar_id":"","url":"https://api.github.com/users/colinwarmstrong","html_url":"https://github.com/colinwarmstrong","followers_url":"https://api.github.com/users/colinwarmstrong/followers","following_url":"https://api.github.com/users/colinwarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/colinwarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/colinwarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinwarmstrong/subscriptions","organizations_url":"https://api.github.com/users/colinwarmstrong/orgs","repos_url":"https://api.github.com/users/colinwarmstrong/repos","events_url":"https://api.github.com/users/colinwarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/colinwarmstrong/received_events","type":"User","site_admin":false},"repo":{"id":139169870,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNjk4NzA=","name":"laugh_tracks","full_name":"colinwarmstrong/laugh_tracks","owner":{"login":"colinwarmstrong","id":37191523,"node_id":"MDQ6VXNlcjM3MTkxNTIz","avatar_url":"https://avatars0.githubusercontent.com/u/37191523?v=4","gravatar_id":"","url":"https://api.github.com/users/colinwarmstrong","html_url":"https://github.com/colinwarmstrong","followers_url":"https://api.github.com/users/colinwarmstrong/followers","following_url":"https://api.github.com/users/colinwarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/colinwarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/colinwarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinwarmstrong/subscriptions","organizations_url":"https://api.github.com/users/colinwarmstrong/orgs","repos_url":"https://api.github.com/users/colinwarmstrong/repos","events_url":"https://api.github.com/users/colinwarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/colinwarmstrong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colinwarmstrong/laugh_tracks","description":null,"fork":true,"url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks","forks_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/forks","keys_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/teams","hooks_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/hooks","issue_events_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/issues/events{/number}","events_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/events","assignees_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/assignees{/user}","branches_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/branches{/branch}","tags_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/tags","blobs_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/git/refs{/sha}","trees_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/statuses/{sha}","languages_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/languages","stargazers_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/stargazers","contributors_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/contributors","subscribers_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/subscribers","subscription_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/subscription","commits_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/commits{/sha}","git_commits_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/git/commits{/sha}","comments_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/comments{/number}","issue_comment_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/issues/comments{/number}","contents_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/contents/{+path}","compare_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/merges","archive_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/downloads","issues_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/issues{/number}","pulls_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/pulls{/number}","milestones_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/milestones{/number}","notifications_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/labels{/name}","releases_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/releases{/id}","deployments_url":"https://api.github.com/repos/colinwarmstrong/laugh_tracks/deployments","created_at":"2018-06-29T16:02:36Z","updated_at":"2018-06-29T16:57:24Z","pushed_at":"2018-06-29T16:57:23Z","git_url":"git://github.com/colinwarmstrong/laugh_tracks.git","ssh_url":"git@github.com:colinwarmstrong/laugh_tracks.git","clone_url":"https://github.com/colinwarmstrong/laugh_tracks.git","svn_url":"https://github.com/colinwarmstrong/laugh_tracks","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool-projects:master","ref":"master","sha":"502045bfb880d42acb78a6b3393b58d1c4715674","user":{"login":"turingschool-projects","id":10454571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDU0NTcx","avatar_url":"https://avatars3.githubusercontent.com/u/10454571?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-projects","html_url":"https://github.com/turingschool-projects","followers_url":"https://api.github.com/users/turingschool-projects/followers","following_url":"https://api.github.com/users/turingschool-projects/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-projects/subscriptions","organizations_url":"https://api.github.com/users/turingschool-projects/orgs","repos_url":"https://api.github.com/users/turingschool-projects/repos","events_url":"https://api.github.com/users/turingschool-projects/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":136771256,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY3NzEyNTY=","name":"laugh_tracks","full_name":"turingschool-projects/laugh_tracks","owner":{"login":"turingschool-projects","id":10454571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDU0NTcx","avatar_url":"https://avatars3.githubusercontent.com/u/10454571?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-projects","html_url":"https://github.com/turingschool-projects","followers_url":"https://api.github.com/users/turingschool-projects/followers","following_url":"https://api.github.com/users/turingschool-projects/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-projects/subscriptions","organizations_url":"https://api.github.com/users/turingschool-projects/orgs","repos_url":"https://api.github.com/users/turingschool-projects/repos","events_url":"https://api.github.com/users/turingschool-projects/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingschool-projects/laugh_tracks","description":null,"fork":false,"url":"https://api.github.com/repos/turingschool-projects/laugh_tracks","forks_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/forks","keys_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/teams","hooks_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/hooks","issue_events_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/events","assignees_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/tags","blobs_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/languages","stargazers_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/stargazers","contributors_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/contributors","subscribers_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/subscribers","subscription_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/subscription","commits_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/merges","archive_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/downloads","issues_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/labels{/name}","releases_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool-projects/laugh_tracks/deployments","created_at":"2018-06-10T01:50:01Z","updated_at":"2018-06-10T01:51:07Z","pushed_at":"2018-07-02T01:00:56Z","git_url":"git://github.com/turingschool-projects/laugh_tracks.git","ssh_url":"git@github.com:turingschool-projects/laugh_tracks.git","clone_url":"https://github.com/turingschool-projects/laugh_tracks.git","svn_url":"https://github.com/turingschool-projects/laugh_tracks","homepage":null,"size":13,"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":18,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":18,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8"},"html":{"href":"https://github.com/turingschool-projects/laugh_tracks/pull/8"},"issue":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/issues/8"},"comments":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool-projects/laugh_tracks/statuses/2ec0074a667eb1e467cef8565ac19085369321b1"}},"author_association":"NONE"}}
{"actor":{"display_login":"iandouglas"}}