{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/comments/35933443","id":35933443,"diff_hunk":"@@ -0,0 +1,64 @@\n+class AlbumsController < ApplicationController\n+  def index\n+    @albums = Album.all\n+  end\n+\n+  def new\n+    @media = Album.new\n+    @url = albums_path\n+    @method = :post\n+    @by = :artist","path":"app/controllers/albums_controller.rb","position":10,"original_position":10,"commit_id":"580f16a8bd78de40af6463fa2960e019b19c70b2","original_commit_id":"580f16a8bd78de40af6463fa2960e019b19c70b2","user":{"login":"kariabancroft","id":7269204,"avatar_url":"https://avatars.githubusercontent.com/u/7269204?v=3","gravatar_id":"","url":"https://api.github.com/users/kariabancroft","html_url":"https://github.com/kariabancroft","followers_url":"https://api.github.com/users/kariabancroft/followers","following_url":"https://api.github.com/users/kariabancroft/following{/other_user}","gists_url":"https://api.github.com/users/kariabancroft/gists{/gist_id}","starred_url":"https://api.github.com/users/kariabancroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kariabancroft/subscriptions","organizations_url":"https://api.github.com/users/kariabancroft/orgs","repos_url":"https://api.github.com/users/kariabancroft/repos","events_url":"https://api.github.com/users/kariabancroft/events{/privacy}","received_events_url":"https://api.github.com/users/kariabancroft/received_events","type":"User","site_admin":false},"body":"You are setting this instance variable but not passing it as a local from the albums/new.html.erb view. To me, this means that *none* of these instance variables need to be passed as locals, since they are instance variables and will just go through without setting them explicitly as locals.","created_at":"2015-07-30T23:31:01Z","updated_at":"2015-07-30T23:31:01Z","html_url":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker/pull/24#discussion_r35933443","pull_request_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/comments/35933443"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker/pull/24#discussion_r35933443"},"pull_request":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24","id":39770216,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker/pull/24","diff_url":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker/pull/24.diff","patch_url":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker/pull/24.patch","issue_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/issues/24","number":24,"state":"open","locked":false,"title":"Media Ranker","user":{"login":"knguyen0710","id":11000279,"avatar_url":"https://avatars.githubusercontent.com/u/11000279?v=3","gravatar_id":"","url":"https://api.github.com/users/knguyen0710","html_url":"https://github.com/knguyen0710","followers_url":"https://api.github.com/users/knguyen0710/followers","following_url":"https://api.github.com/users/knguyen0710/following{/other_user}","gists_url":"https://api.github.com/users/knguyen0710/gists{/gist_id}","starred_url":"https://api.github.com/users/knguyen0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knguyen0710/subscriptions","organizations_url":"https://api.github.com/users/knguyen0710/orgs","repos_url":"https://api.github.com/users/knguyen0710/repos","events_url":"https://api.github.com/users/knguyen0710/events{/privacy}","received_events_url":"https://api.github.com/users/knguyen0710/received_events","type":"User","site_admin":false},"body":"This is for the final submission of media ranker.\r\n\r\nI had some trouble writing rspec tests for this project and being able to differentiate between which test should go where so that's where I ended up spending a lot of my time with this project. That, and I'm still not great at using github (probably because I get a little keyboard happy).\r\n\r\nOther than that, I thought this was a great exploratory project to do on my own.","created_at":"2015-07-12T22:39:44Z","updated_at":"2015-07-30T23:31:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed88577c1d712cb7a10216aba6b191612aba91e2","assignee":{"login":"kariabancroft","id":7269204,"avatar_url":"https://avatars.githubusercontent.com/u/7269204?v=3","gravatar_id":"","url":"https://api.github.com/users/kariabancroft","html_url":"https://github.com/kariabancroft","followers_url":"https://api.github.com/users/kariabancroft/followers","following_url":"https://api.github.com/users/kariabancroft/following{/other_user}","gists_url":"https://api.github.com/users/kariabancroft/gists{/gist_id}","starred_url":"https://api.github.com/users/kariabancroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kariabancroft/subscriptions","organizations_url":"https://api.github.com/users/kariabancroft/orgs","repos_url":"https://api.github.com/users/kariabancroft/repos","events_url":"https://api.github.com/users/kariabancroft/events{/privacy}","received_events_url":"https://api.github.com/users/kariabancroft/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24/commits","review_comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24/comments","review_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/issues/24/comments","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/statuses/580f16a8bd78de40af6463fa2960e019b19c70b2","head":{"label":"knguyen0710:khn/master","ref":"khn/master","sha":"580f16a8bd78de40af6463fa2960e019b19c70b2","user":{"login":"knguyen0710","id":11000279,"avatar_url":"https://avatars.githubusercontent.com/u/11000279?v=3","gravatar_id":"","url":"https://api.github.com/users/knguyen0710","html_url":"https://github.com/knguyen0710","followers_url":"https://api.github.com/users/knguyen0710/followers","following_url":"https://api.github.com/users/knguyen0710/following{/other_user}","gists_url":"https://api.github.com/users/knguyen0710/gists{/gist_id}","starred_url":"https://api.github.com/users/knguyen0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knguyen0710/subscriptions","organizations_url":"https://api.github.com/users/knguyen0710/orgs","repos_url":"https://api.github.com/users/knguyen0710/repos","events_url":"https://api.github.com/users/knguyen0710/events{/privacy}","received_events_url":"https://api.github.com/users/knguyen0710/received_events","type":"User","site_admin":false},"repo":{"id":38648157,"name":"C3Projects--MediaRanker","full_name":"knguyen0710/C3Projects--MediaRanker","owner":{"login":"knguyen0710","id":11000279,"avatar_url":"https://avatars.githubusercontent.com/u/11000279?v=3","gravatar_id":"","url":"https://api.github.com/users/knguyen0710","html_url":"https://github.com/knguyen0710","followers_url":"https://api.github.com/users/knguyen0710/followers","following_url":"https://api.github.com/users/knguyen0710/following{/other_user}","gists_url":"https://api.github.com/users/knguyen0710/gists{/gist_id}","starred_url":"https://api.github.com/users/knguyen0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knguyen0710/subscriptions","organizations_url":"https://api.github.com/users/knguyen0710/orgs","repos_url":"https://api.github.com/users/knguyen0710/repos","events_url":"https://api.github.com/users/knguyen0710/events{/privacy}","received_events_url":"https://api.github.com/users/knguyen0710/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knguyen0710/C3Projects--MediaRanker","description":"","fork":true,"url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker","forks_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/forks","keys_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/teams","hooks_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/events","assignees_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/tags","blobs_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/languages","stargazers_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/subscription","commits_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/merges","archive_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/downloads","issues_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/knguyen0710/C3Projects--MediaRanker/releases{/id}","created_at":"2015-07-06T21:46:03Z","updated_at":"2015-07-07T23:10:01Z","pushed_at":"2015-07-12T22:35:50Z","git_url":"git://github.com/knguyen0710/C3Projects--MediaRanker.git","ssh_url":"git@github.com:knguyen0710/C3Projects--MediaRanker.git","clone_url":"https://github.com/knguyen0710/C3Projects--MediaRanker.git","svn_url":"https://github.com/knguyen0710/C3Projects--MediaRanker","homepage":null,"size":273,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ada-Developers-Academy:khn/master","ref":"khn/master","sha":"ed0bdf2bb091295555dfad2ac353ac9c92e3095e","user":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"repo":{"id":38332554,"name":"C3Projects--MediaRanker","full_name":"Ada-Developers-Academy/C3Projects--MediaRanker","owner":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker","description":"","fork":false,"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker","forks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/forks","keys_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/teams","hooks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/events","assignees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/tags","blobs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/languages","stargazers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/subscription","commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/merges","archive_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/downloads","issues_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/releases{/id}","created_at":"2015-06-30T20:51:55Z","updated_at":"2015-06-30T20:51:55Z","pushed_at":"2015-07-26T18:56:09Z","git_url":"git://github.com/Ada-Developers-Academy/C3Projects--MediaRanker.git","ssh_url":"git@github.com:Ada-Developers-Academy/C3Projects--MediaRanker.git","clone_url":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker.git","svn_url":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker","homepage":null,"size":15894,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":22,"forks":25,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--MediaRanker/pull/24"},"issue":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/issues/24"},"comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--MediaRanker/statuses/580f16a8bd78de40af6463fa2960e019b19c70b2"}}}}