{"action":"created","comment":{"url":"https://api.github.com/repos/rbndickson/myflix/pulls/comments/39931372","id":39931372,"diff_hunk":"@@ -1,5 +1,9 @@\n module ApplicationHelper\n   def star_options\n-    [5,4,3,2,1].collect { |x| [pluralize(x, 'star'), x] }\n+    [1, 2, 3, 4, 5].collect { |x| [pluralize(x, 'star'), x] }","path":"app/helpers/application_helper.rb","position":4,"original_position":4,"commit_id":"a86fb9c3510904d194dee0bd05718ab44da8538a","original_commit_id":"a86fb9c3510904d194dee0bd05718ab44da8538a","user":{"login":"tomtomecek","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtomecek","html_url":"https://github.com/tomtomecek","followers_url":"https://api.github.com/users/tomtomecek/followers","following_url":"https://api.github.com/users/tomtomecek/following{/other_user}","gists_url":"https://api.github.com/users/tomtomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtomecek/subscriptions","organizations_url":"https://api.github.com/users/tomtomecek/orgs","repos_url":"https://api.github.com/users/tomtomecek/repos","events_url":"https://api.github.com/users/tomtomecek/events{/privacy}","received_events_url":"https://api.github.com/users/tomtomecek/received_events","type":"User","site_admin":false},"body":"I would rarely use `x` as variable. Its always better to call it right way.","created_at":"2015-09-20T16:08:04Z","updated_at":"2015-09-20T16:08:04Z","html_url":"https://github.com/rbndickson/myflix/pull/4#discussion_r39931372","pull_request_url":"https://api.github.com/repos/rbndickson/myflix/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/rbndickson/myflix/pulls/comments/39931372"},"html":{"href":"https://github.com/rbndickson/myflix/pull/4#discussion_r39931372"},"pull_request":{"href":"https://api.github.com/repos/rbndickson/myflix/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/rbndickson/myflix/pulls/4","id":45497676,"html_url":"https://github.com/rbndickson/myflix/pull/4","diff_url":"https://github.com/rbndickson/myflix/pull/4.diff","patch_url":"https://github.com/rbndickson/myflix/pull/4.patch","issue_url":"https://api.github.com/repos/rbndickson/myflix/issues/4","number":4,"state":"open","locked":false,"title":"Week 3 assignments","user":{"login":"rbndickson","id":8252439,"avatar_url":"https://avatars.githubusercontent.com/u/8252439?v=3","gravatar_id":"","url":"https://api.github.com/users/rbndickson","html_url":"https://github.com/rbndickson","followers_url":"https://api.github.com/users/rbndickson/followers","following_url":"https://api.github.com/users/rbndickson/following{/other_user}","gists_url":"https://api.github.com/users/rbndickson/gists{/gist_id}","starred_url":"https://api.github.com/users/rbndickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbndickson/subscriptions","organizations_url":"https://api.github.com/users/rbndickson/orgs","repos_url":"https://api.github.com/users/rbndickson/repos","events_url":"https://api.github.com/users/rbndickson/events{/privacy}","received_events_url":"https://api.github.com/users/rbndickson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-20T14:54:12Z","updated_at":"2015-09-20T16:08:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a8bc445582d6c72940c17506d0274611bf7dbc8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rbndickson/myflix/pulls/4/commits","review_comments_url":"https://api.github.com/repos/rbndickson/myflix/pulls/4/comments","review_comment_url":"https://api.github.com/repos/rbndickson/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rbndickson/myflix/issues/4/comments","statuses_url":"https://api.github.com/repos/rbndickson/myflix/statuses/a86fb9c3510904d194dee0bd05718ab44da8538a","head":{"label":"rbndickson:week-3-assignments","ref":"week-3-assignments","sha":"a86fb9c3510904d194dee0bd05718ab44da8538a","user":{"login":"rbndickson","id":8252439,"avatar_url":"https://avatars.githubusercontent.com/u/8252439?v=3","gravatar_id":"","url":"https://api.github.com/users/rbndickson","html_url":"https://github.com/rbndickson","followers_url":"https://api.github.com/users/rbndickson/followers","following_url":"https://api.github.com/users/rbndickson/following{/other_user}","gists_url":"https://api.github.com/users/rbndickson/gists{/gist_id}","starred_url":"https://api.github.com/users/rbndickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbndickson/subscriptions","organizations_url":"https://api.github.com/users/rbndickson/orgs","repos_url":"https://api.github.com/users/rbndickson/repos","events_url":"https://api.github.com/users/rbndickson/events{/privacy}","received_events_url":"https://api.github.com/users/rbndickson/received_events","type":"User","site_admin":false},"repo":{"id":41794522,"name":"myflix","full_name":"rbndickson/myflix","owner":{"login":"rbndickson","id":8252439,"avatar_url":"https://avatars.githubusercontent.com/u/8252439?v=3","gravatar_id":"","url":"https://api.github.com/users/rbndickson","html_url":"https://github.com/rbndickson","followers_url":"https://api.github.com/users/rbndickson/followers","following_url":"https://api.github.com/users/rbndickson/following{/other_user}","gists_url":"https://api.github.com/users/rbndickson/gists{/gist_id}","starred_url":"https://api.github.com/users/rbndickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbndickson/subscriptions","organizations_url":"https://api.github.com/users/rbndickson/orgs","repos_url":"https://api.github.com/users/rbndickson/repos","events_url":"https://api.github.com/users/rbndickson/events{/privacy}","received_events_url":"https://api.github.com/users/rbndickson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rbndickson/myflix","description":"","fork":false,"url":"https://api.github.com/repos/rbndickson/myflix","forks_url":"https://api.github.com/repos/rbndickson/myflix/forks","keys_url":"https://api.github.com/repos/rbndickson/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rbndickson/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rbndickson/myflix/teams","hooks_url":"https://api.github.com/repos/rbndickson/myflix/hooks","issue_events_url":"https://api.github.com/repos/rbndickson/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/rbndickson/myflix/events","assignees_url":"https://api.github.com/repos/rbndickson/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/rbndickson/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/rbndickson/myflix/tags","blobs_url":"https://api.github.com/repos/rbndickson/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rbndickson/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rbndickson/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/rbndickson/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rbndickson/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/rbndickson/myflix/languages","stargazers_url":"https://api.github.com/repos/rbndickson/myflix/stargazers","contributors_url":"https://api.github.com/repos/rbndickson/myflix/contributors","subscribers_url":"https://api.github.com/repos/rbndickson/myflix/subscribers","subscription_url":"https://api.github.com/repos/rbndickson/myflix/subscription","commits_url":"https://api.github.com/repos/rbndickson/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/rbndickson/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/rbndickson/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/rbndickson/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/rbndickson/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/rbndickson/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rbndickson/myflix/merges","archive_url":"https://api.github.com/repos/rbndickson/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rbndickson/myflix/downloads","issues_url":"https://api.github.com/repos/rbndickson/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/rbndickson/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/rbndickson/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/rbndickson/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rbndickson/myflix/labels{/name}","releases_url":"https://api.github.com/repos/rbndickson/myflix/releases{/id}","created_at":"2015-09-02T10:13:00Z","updated_at":"2015-09-07T08:36:58Z","pushed_at":"2015-09-20T14:54:13Z","git_url":"git://github.com/rbndickson/myflix.git","ssh_url":"git@github.com:rbndickson/myflix.git","clone_url":"https://github.com/rbndickson/myflix.git","svn_url":"https://github.com/rbndickson/myflix","homepage":null,"size":1132,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rbndickson:master","ref":"master","sha":"6299cf538a2e9e7584e1440c09500245d3695cbf","user":{"login":"rbndickson","id":8252439,"avatar_url":"https://avatars.githubusercontent.com/u/8252439?v=3","gravatar_id":"","url":"https://api.github.com/users/rbndickson","html_url":"https://github.com/rbndickson","followers_url":"https://api.github.com/users/rbndickson/followers","following_url":"https://api.github.com/users/rbndickson/following{/other_user}","gists_url":"https://api.github.com/users/rbndickson/gists{/gist_id}","starred_url":"https://api.github.com/users/rbndickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbndickson/subscriptions","organizations_url":"https://api.github.com/users/rbndickson/orgs","repos_url":"https://api.github.com/users/rbndickson/repos","events_url":"https://api.github.com/users/rbndickson/events{/privacy}","received_events_url":"https://api.github.com/users/rbndickson/received_events","type":"User","site_admin":false},"repo":{"id":41794522,"name":"myflix","full_name":"rbndickson/myflix","owner":{"login":"rbndickson","id":8252439,"avatar_url":"https://avatars.githubusercontent.com/u/8252439?v=3","gravatar_id":"","url":"https://api.github.com/users/rbndickson","html_url":"https://github.com/rbndickson","followers_url":"https://api.github.com/users/rbndickson/followers","following_url":"https://api.github.com/users/rbndickson/following{/other_user}","gists_url":"https://api.github.com/users/rbndickson/gists{/gist_id}","starred_url":"https://api.github.com/users/rbndickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbndickson/subscriptions","organizations_url":"https://api.github.com/users/rbndickson/orgs","repos_url":"https://api.github.com/users/rbndickson/repos","events_url":"https://api.github.com/users/rbndickson/events{/privacy}","received_events_url":"https://api.github.com/users/rbndickson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rbndickson/myflix","description":"","fork":false,"url":"https://api.github.com/repos/rbndickson/myflix","forks_url":"https://api.github.com/repos/rbndickson/myflix/forks","keys_url":"https://api.github.com/repos/rbndickson/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rbndickson/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rbndickson/myflix/teams","hooks_url":"https://api.github.com/repos/rbndickson/myflix/hooks","issue_events_url":"https://api.github.com/repos/rbndickson/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/rbndickson/myflix/events","assignees_url":"https://api.github.com/repos/rbndickson/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/rbndickson/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/rbndickson/myflix/tags","blobs_url":"https://api.github.com/repos/rbndickson/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rbndickson/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rbndickson/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/rbndickson/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rbndickson/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/rbndickson/myflix/languages","stargazers_url":"https://api.github.com/repos/rbndickson/myflix/stargazers","contributors_url":"https://api.github.com/repos/rbndickson/myflix/contributors","subscribers_url":"https://api.github.com/repos/rbndickson/myflix/subscribers","subscription_url":"https://api.github.com/repos/rbndickson/myflix/subscription","commits_url":"https://api.github.com/repos/rbndickson/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/rbndickson/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/rbndickson/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/rbndickson/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/rbndickson/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/rbndickson/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rbndickson/myflix/merges","archive_url":"https://api.github.com/repos/rbndickson/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rbndickson/myflix/downloads","issues_url":"https://api.github.com/repos/rbndickson/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/rbndickson/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/rbndickson/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/rbndickson/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rbndickson/myflix/labels{/name}","releases_url":"https://api.github.com/repos/rbndickson/myflix/releases{/id}","created_at":"2015-09-02T10:13:00Z","updated_at":"2015-09-07T08:36:58Z","pushed_at":"2015-09-20T14:54:13Z","git_url":"git://github.com/rbndickson/myflix.git","ssh_url":"git@github.com:rbndickson/myflix.git","clone_url":"https://github.com/rbndickson/myflix.git","svn_url":"https://github.com/rbndickson/myflix","homepage":null,"size":1132,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rbndickson/myflix/pulls/4"},"html":{"href":"https://github.com/rbndickson/myflix/pull/4"},"issue":{"href":"https://api.github.com/repos/rbndickson/myflix/issues/4"},"comments":{"href":"https://api.github.com/repos/rbndickson/myflix/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/rbndickson/myflix/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/rbndickson/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rbndickson/myflix/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/rbndickson/myflix/statuses/a86fb9c3510904d194dee0bd05718ab44da8538a"}}}}