{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/19","id":116013105,"html_url":"https://github.com/Ada-C7/MediaRanker/pull/19","diff_url":"https://github.com/Ada-C7/MediaRanker/pull/19.diff","patch_url":"https://github.com/Ada-C7/MediaRanker/pull/19.patch","issue_url":"https://api.github.com/repos/Ada-C7/MediaRanker/issues/19","number":19,"state":"open","locked":false,"title":"Queues - Emma Philippides - Media Ranker","user":{"login":"Emma-Claire","id":18726134,"avatar_url":"https://avatars3.githubusercontent.com/u/18726134?v=3","gravatar_id":"","url":"https://api.github.com/users/Emma-Claire","html_url":"https://github.com/Emma-Claire","followers_url":"https://api.github.com/users/Emma-Claire/followers","following_url":"https://api.github.com/users/Emma-Claire/following{/other_user}","gists_url":"https://api.github.com/users/Emma-Claire/gists{/gist_id}","starred_url":"https://api.github.com/users/Emma-Claire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emma-Claire/subscriptions","organizations_url":"https://api.github.com/users/Emma-Claire/orgs","repos_url":"https://api.github.com/users/Emma-Claire/repos","events_url":"https://api.github.com/users/Emma-Claire/events{/privacy}","received_events_url":"https://api.github.com/users/Emma-Claire/received_events","type":"User","site_admin":false},"body":"# Media Ranker\r\nCongratulations! You're submitting your assignment!\r\n\r\n## Comprehension Questions\r\n| Question | Answer    |\r\n| :------------- | :------------- |\r\n| Describe a custom model method you wrote. | I did not write any custom model methods. |\r\n| Describe how you approached testing that model method. What edge cases did you come up with? | N/A |\r\n| Describe an edge case test you wrote for a controller | For the works_controller_test.rb Edit method I used the same test which Dan live coded which checks whether a work exists or not using checking the first item, then the last item +1 |\r\n| What are `session` and `flash`? What is the difference between them? |Session stores data while user is using app, data goes away after the user closes the browser. Flash stores data that displays on the screen then disappears on the next request. i.e: \"books added successfully\", \"successful login\"... |\r\n| Describe a controller filter you wrote. | I did not get a chance to use one, but on the demo website a user is not able to vote or make changes until they are logged in so a  'before_action :require_login' was probably used. |\r\n| What was one thing that you gained more clarity on through this assignment? |That I need to spend more time on the material and that I am nowhere near where I should be by now.   |\r\n| What is the Heroku URL of your deployed application |  https://mediaranker-app.herokuapp.com/|\r\n| Do you have any recommendations on how we could improve this project for the next cohort? | Maybe provide example approaches, I was very confused about whether I needed to create controllers for each  work category, a little guidance would've helped me stay on the right track. Maybe give all the lectures pertaining to project before assigning it and don't schedule lightning talks during the same week.| \r\n","created_at":"2017-04-15T04:08:54Z","updated_at":"2017-04-15T04:08:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/19/commits","review_comments_url":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/19/comments","review_comment_url":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-C7/MediaRanker/issues/19/comments","statuses_url":"https://api.github.com/repos/Ada-C7/MediaRanker/statuses/01f950e73d9acc89489cde22b1533a8f5011a21e","head":{"label":"Emma-Claire:master","ref":"master","sha":"01f950e73d9acc89489cde22b1533a8f5011a21e","user":{"login":"Emma-Claire","id":18726134,"avatar_url":"https://avatars3.githubusercontent.com/u/18726134?v=3","gravatar_id":"","url":"https://api.github.com/users/Emma-Claire","html_url":"https://github.com/Emma-Claire","followers_url":"https://api.github.com/users/Emma-Claire/followers","following_url":"https://api.github.com/users/Emma-Claire/following{/other_user}","gists_url":"https://api.github.com/users/Emma-Claire/gists{/gist_id}","starred_url":"https://api.github.com/users/Emma-Claire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emma-Claire/subscriptions","organizations_url":"https://api.github.com/users/Emma-Claire/orgs","repos_url":"https://api.github.com/users/Emma-Claire/repos","events_url":"https://api.github.com/users/Emma-Claire/events{/privacy}","received_events_url":"https://api.github.com/users/Emma-Claire/received_events","type":"User","site_admin":false},"repo":{"id":87857723,"name":"MediaRanker","full_name":"Emma-Claire/MediaRanker","owner":{"login":"Emma-Claire","id":18726134,"avatar_url":"https://avatars3.githubusercontent.com/u/18726134?v=3","gravatar_id":"","url":"https://api.github.com/users/Emma-Claire","html_url":"https://github.com/Emma-Claire","followers_url":"https://api.github.com/users/Emma-Claire/followers","following_url":"https://api.github.com/users/Emma-Claire/following{/other_user}","gists_url":"https://api.github.com/users/Emma-Claire/gists{/gist_id}","starred_url":"https://api.github.com/users/Emma-Claire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emma-Claire/subscriptions","organizations_url":"https://api.github.com/users/Emma-Claire/orgs","repos_url":"https://api.github.com/users/Emma-Claire/repos","events_url":"https://api.github.com/users/Emma-Claire/events{/privacy}","received_events_url":"https://api.github.com/users/Emma-Claire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Emma-Claire/MediaRanker","description":null,"fork":true,"url":"https://api.github.com/repos/Emma-Claire/MediaRanker","forks_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/forks","keys_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/teams","hooks_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/events","assignees_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/tags","blobs_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/languages","stargazers_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/subscription","commits_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/merges","archive_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/downloads","issues_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/releases{/id}","deployments_url":"https://api.github.com/repos/Emma-Claire/MediaRanker/deployments","created_at":"2017-04-10T21:06:51Z","updated_at":"2017-04-11T23:28:13Z","pushed_at":"2017-04-15T03:20:53Z","git_url":"git://github.com/Emma-Claire/MediaRanker.git","ssh_url":"git@github.com:Emma-Claire/MediaRanker.git","clone_url":"https://github.com/Emma-Claire/MediaRanker.git","svn_url":"https://github.com/Emma-Claire/MediaRanker","homepage":null,"size":87,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ada-C7:master","ref":"master","sha":"3d02f24a73442a5180980b809a19197490022c7e","user":{"login":"Ada-C7","id":24881334,"avatar_url":"https://avatars3.githubusercontent.com/u/24881334?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C7","html_url":"https://github.com/Ada-C7","followers_url":"https://api.github.com/users/Ada-C7/followers","following_url":"https://api.github.com/users/Ada-C7/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C7/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C7/subscriptions","organizations_url":"https://api.github.com/users/Ada-C7/orgs","repos_url":"https://api.github.com/users/Ada-C7/repos","events_url":"https://api.github.com/users/Ada-C7/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C7/received_events","type":"Organization","site_admin":false},"repo":{"id":87854086,"name":"MediaRanker","full_name":"Ada-C7/MediaRanker","owner":{"login":"Ada-C7","id":24881334,"avatar_url":"https://avatars3.githubusercontent.com/u/24881334?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C7","html_url":"https://github.com/Ada-C7","followers_url":"https://api.github.com/users/Ada-C7/followers","following_url":"https://api.github.com/users/Ada-C7/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C7/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C7/subscriptions","organizations_url":"https://api.github.com/users/Ada-C7/orgs","repos_url":"https://api.github.com/users/Ada-C7/repos","events_url":"https://api.github.com/users/Ada-C7/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-C7/MediaRanker","description":null,"fork":true,"url":"https://api.github.com/repos/Ada-C7/MediaRanker","forks_url":"https://api.github.com/repos/Ada-C7/MediaRanker/forks","keys_url":"https://api.github.com/repos/Ada-C7/MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-C7/MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-C7/MediaRanker/teams","hooks_url":"https://api.github.com/repos/Ada-C7/MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/Ada-C7/MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-C7/MediaRanker/events","assignees_url":"https://api.github.com/repos/Ada-C7/MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-C7/MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-C7/MediaRanker/tags","blobs_url":"https://api.github.com/repos/Ada-C7/MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-C7/MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-C7/MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-C7/MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-C7/MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-C7/MediaRanker/languages","stargazers_url":"https://api.github.com/repos/Ada-C7/MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/Ada-C7/MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/Ada-C7/MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/Ada-C7/MediaRanker/subscription","commits_url":"https://api.github.com/repos/Ada-C7/MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-C7/MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-C7/MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-C7/MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-C7/MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-C7/MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-C7/MediaRanker/merges","archive_url":"https://api.github.com/repos/Ada-C7/MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-C7/MediaRanker/downloads","issues_url":"https://api.github.com/repos/Ada-C7/MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-C7/MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-C7/MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-C7/MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/Ada-C7/MediaRanker/releases{/id}","deployments_url":"https://api.github.com/repos/Ada-C7/MediaRanker/deployments","created_at":"2017-04-10T20:21:22Z","updated_at":"2016-10-05T17:42:18Z","pushed_at":"2017-04-15T01:32:48Z","git_url":"git://github.com/Ada-C7/MediaRanker.git","ssh_url":"git@github.com:Ada-C7/MediaRanker.git","clone_url":"https://github.com/Ada-C7/MediaRanker.git","svn_url":"https://github.com/Ada-C7/MediaRanker","homepage":null,"size":24,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":16,"forks":47,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/19"},"html":{"href":"https://github.com/Ada-C7/MediaRanker/pull/19"},"issue":{"href":"https://api.github.com/repos/Ada-C7/MediaRanker/issues/19"},"comments":{"href":"https://api.github.com/repos/Ada-C7/MediaRanker/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-C7/MediaRanker/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-C7/MediaRanker/statuses/01f950e73d9acc89489cde22b1533a8f5011a21e"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":8,"additions":6328,"deletions":116,"changed_files":132}}
{"actor":{"display_login":"Emma-Claire"}}