{"action":"created","comment":{"url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/comments/57623310","id":57623310,"diff_hunk":"@@ -15,8 +15,29 @@ def self.count_by_decade\n     decade_artists\n   end\n   \n+  # Lists all members for a particular band\n   def show_artist_members\n     x = self.id\n-    return Member.where({\"artist_id\" => x})\n+    Member.where({\"artist_id\" => x})\n   end\n+\n+  # Shows album name(s) for a particular band\n+  def artist_album_names","path":"app/models/artist.rb","position":12,"original_position":12,"commit_id":"16e83eaf78a0d34e5317b6d36af3c58e3f420dfe","original_commit_id":"16e83eaf78a0d34e5317b6d36af3c58e3f420dfe","user":{"login":"sumeetjain","id":29388,"avatar_url":"https://avatars.githubusercontent.com/u/29388?v=3","gravatar_id":"","url":"https://api.github.com/users/sumeetjain","html_url":"https://github.com/sumeetjain","followers_url":"https://api.github.com/users/sumeetjain/followers","following_url":"https://api.github.com/users/sumeetjain/following{/other_user}","gists_url":"https://api.github.com/users/sumeetjain/gists{/gist_id}","starred_url":"https://api.github.com/users/sumeetjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumeetjain/subscriptions","organizations_url":"https://api.github.com/users/sumeetjain/orgs","repos_url":"https://api.github.com/users/sumeetjain/repos","events_url":"https://api.github.com/users/sumeetjain/events{/privacy}","received_events_url":"https://api.github.com/users/sumeetjain/received_events","type":"User","site_admin":false},"body":"Remove unused methods (artist#artist_album_names)","created_at":"2016-03-28T19:55:56Z","updated_at":"2016-03-28T19:55:56Z","html_url":"https://github.com/omahacodeschool/vinyl-archive/pull/109#discussion_r57623310","pull_request_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/comments/57623310"},"html":{"href":"https://github.com/omahacodeschool/vinyl-archive/pull/109#discussion_r57623310"},"pull_request":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109","id":64331065,"html_url":"https://github.com/omahacodeschool/vinyl-archive/pull/109","diff_url":"https://github.com/omahacodeschool/vinyl-archive/pull/109.diff","patch_url":"https://github.com/omahacodeschool/vinyl-archive/pull/109.patch","issue_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/109","number":109,"state":"open","locked":false,"title":"Adding albums to artist pages","user":{"login":"jillianw","id":16272007,"avatar_url":"https://avatars.githubusercontent.com/u/16272007?v=3","gravatar_id":"","url":"https://api.github.com/users/jillianw","html_url":"https://github.com/jillianw","followers_url":"https://api.github.com/users/jillianw/followers","following_url":"https://api.github.com/users/jillianw/following{/other_user}","gists_url":"https://api.github.com/users/jillianw/gists{/gist_id}","starred_url":"https://api.github.com/users/jillianw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jillianw/subscriptions","organizations_url":"https://api.github.com/users/jillianw/orgs","repos_url":"https://api.github.com/users/jillianw/repos","events_url":"https://api.github.com/users/jillianw/events{/privacy}","received_events_url":"https://api.github.com/users/jillianw/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-28T15:06:54Z","updated_at":"2016-03-28T19:55:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a7ce33678669e82cf9571f05fd017e3ae95adda","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109/commits","review_comments_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109/comments","review_comment_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/109/comments","statuses_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/statuses/16e83eaf78a0d34e5317b6d36af3c58e3f420dfe","head":{"label":"omahacodeschool:adding-albums-to-artist-pages","ref":"adding-albums-to-artist-pages","sha":"16e83eaf78a0d34e5317b6d36af3c58e3f420dfe","user":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"repo":{"id":54343171,"name":"vinyl-archive","full_name":"omahacodeschool/vinyl-archive","owner":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omahacodeschool/vinyl-archive","description":null,"fork":false,"url":"https://api.github.com/repos/omahacodeschool/vinyl-archive","forks_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/forks","keys_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/teams","hooks_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/hooks","issue_events_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/events{/number}","events_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/events","assignees_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/assignees{/user}","branches_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/branches{/branch}","tags_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/tags","blobs_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/statuses/{sha}","languages_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/languages","stargazers_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/stargazers","contributors_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/contributors","subscribers_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/subscribers","subscription_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/subscription","commits_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/contents/{+path}","compare_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/merges","archive_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/downloads","issues_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues{/number}","pulls_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls{/number}","milestones_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/milestones{/number}","notifications_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/labels{/name}","releases_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/releases{/id}","deployments_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/deployments","created_at":"2016-03-20T22:10:35Z","updated_at":"2016-03-20T22:16:23Z","pushed_at":"2016-03-28T19:53:40Z","git_url":"git://github.com/omahacodeschool/vinyl-archive.git","ssh_url":"git@github.com:omahacodeschool/vinyl-archive.git","clone_url":"https://github.com/omahacodeschool/vinyl-archive.git","svn_url":"https://github.com/omahacodeschool/vinyl-archive","homepage":null,"size":138,"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":70,"forks":0,"open_issues":70,"watchers":0,"default_branch":"master"}},"base":{"label":"omahacodeschool:master","ref":"master","sha":"7506d4299440ea11bb93dd2381a620a7b7254d4b","user":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"repo":{"id":54343171,"name":"vinyl-archive","full_name":"omahacodeschool/vinyl-archive","owner":{"login":"omahacodeschool","id":6311183,"avatar_url":"https://avatars.githubusercontent.com/u/6311183?v=3","gravatar_id":"","url":"https://api.github.com/users/omahacodeschool","html_url":"https://github.com/omahacodeschool","followers_url":"https://api.github.com/users/omahacodeschool/followers","following_url":"https://api.github.com/users/omahacodeschool/following{/other_user}","gists_url":"https://api.github.com/users/omahacodeschool/gists{/gist_id}","starred_url":"https://api.github.com/users/omahacodeschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahacodeschool/subscriptions","organizations_url":"https://api.github.com/users/omahacodeschool/orgs","repos_url":"https://api.github.com/users/omahacodeschool/repos","events_url":"https://api.github.com/users/omahacodeschool/events{/privacy}","received_events_url":"https://api.github.com/users/omahacodeschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omahacodeschool/vinyl-archive","description":null,"fork":false,"url":"https://api.github.com/repos/omahacodeschool/vinyl-archive","forks_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/forks","keys_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/teams","hooks_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/hooks","issue_events_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/events{/number}","events_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/events","assignees_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/assignees{/user}","branches_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/branches{/branch}","tags_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/tags","blobs_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/statuses/{sha}","languages_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/languages","stargazers_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/stargazers","contributors_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/contributors","subscribers_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/subscribers","subscription_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/subscription","commits_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/contents/{+path}","compare_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/merges","archive_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/downloads","issues_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues{/number}","pulls_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls{/number}","milestones_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/milestones{/number}","notifications_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/labels{/name}","releases_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/releases{/id}","deployments_url":"https://api.github.com/repos/omahacodeschool/vinyl-archive/deployments","created_at":"2016-03-20T22:10:35Z","updated_at":"2016-03-20T22:16:23Z","pushed_at":"2016-03-28T19:53:40Z","git_url":"git://github.com/omahacodeschool/vinyl-archive.git","ssh_url":"git@github.com:omahacodeschool/vinyl-archive.git","clone_url":"https://github.com/omahacodeschool/vinyl-archive.git","svn_url":"https://github.com/omahacodeschool/vinyl-archive","homepage":null,"size":138,"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":70,"forks":0,"open_issues":70,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109"},"html":{"href":"https://github.com/omahacodeschool/vinyl-archive/pull/109"},"issue":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/109"},"comments":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/omahacodeschool/vinyl-archive/statuses/16e83eaf78a0d34e5317b6d36af3c58e3f420dfe"}}}}