{"action":"created","comment":{"url":"https://api.github.com/repos/yusukeyamane/protospace/pulls/comments/44933625","id":44933625,"diff_hunk":"@@ -32,6 +32,10 @@ def destroy\n     redirect_to root_path\n   end\n \n+  def newest","path":"app/controllers/prototypes_controller.rb","position":4,"original_position":4,"commit_id":"f0e2dcff8d8ee4027d826ac6bcad22e785fa6d26","original_commit_id":"f0e2dcff8d8ee4027d826ac6bcad22e785fa6d26","user":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"body":"なるほどですね。。。後者のやり方でやってみます！","created_at":"2015-11-16T15:08:08Z","updated_at":"2015-11-16T15:08:08Z","html_url":"https://github.com/yusukeyamane/protospace/pull/19#discussion_r44933625","pull_request_url":"https://api.github.com/repos/yusukeyamane/protospace/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/yusukeyamane/protospace/pulls/comments/44933625"},"html":{"href":"https://github.com/yusukeyamane/protospace/pull/19#discussion_r44933625"},"pull_request":{"href":"https://api.github.com/repos/yusukeyamane/protospace/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/yusukeyamane/protospace/pulls/19","id":50749701,"html_url":"https://github.com/yusukeyamane/protospace/pull/19","diff_url":"https://github.com/yusukeyamane/protospace/pull/19.diff","patch_url":"https://github.com/yusukeyamane/protospace/pull/19.patch","issue_url":"https://api.github.com/repos/yusukeyamane/protospace/issues/19","number":19,"state":"open","locked":false,"title":"Make ranking function","user":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"body":"# What\r\n- prototypeをlike数順に表示する機能を実装\r\n\r\n# Why\r\n- ユーザービリティ向上のため","created_at":"2015-11-15T16:13:43Z","updated_at":"2015-11-16T15:08:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5de94a47034803e9a036b081f7a8bf45ce0adab6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yusukeyamane/protospace/pulls/19/commits","review_comments_url":"https://api.github.com/repos/yusukeyamane/protospace/pulls/19/comments","review_comment_url":"https://api.github.com/repos/yusukeyamane/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yusukeyamane/protospace/issues/19/comments","statuses_url":"https://api.github.com/repos/yusukeyamane/protospace/statuses/f0e2dcff8d8ee4027d826ac6bcad22e785fa6d26","head":{"label":"yusukeyamane:make_ranking_function","ref":"make_ranking_function","sha":"f0e2dcff8d8ee4027d826ac6bcad22e785fa6d26","user":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"repo":{"id":44623510,"name":"protospace","full_name":"yusukeyamane/protospace","owner":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yusukeyamane/protospace","description":"","fork":false,"url":"https://api.github.com/repos/yusukeyamane/protospace","forks_url":"https://api.github.com/repos/yusukeyamane/protospace/forks","keys_url":"https://api.github.com/repos/yusukeyamane/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yusukeyamane/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yusukeyamane/protospace/teams","hooks_url":"https://api.github.com/repos/yusukeyamane/protospace/hooks","issue_events_url":"https://api.github.com/repos/yusukeyamane/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/yusukeyamane/protospace/events","assignees_url":"https://api.github.com/repos/yusukeyamane/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/yusukeyamane/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/yusukeyamane/protospace/tags","blobs_url":"https://api.github.com/repos/yusukeyamane/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yusukeyamane/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yusukeyamane/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/yusukeyamane/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yusukeyamane/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/yusukeyamane/protospace/languages","stargazers_url":"https://api.github.com/repos/yusukeyamane/protospace/stargazers","contributors_url":"https://api.github.com/repos/yusukeyamane/protospace/contributors","subscribers_url":"https://api.github.com/repos/yusukeyamane/protospace/subscribers","subscription_url":"https://api.github.com/repos/yusukeyamane/protospace/subscription","commits_url":"https://api.github.com/repos/yusukeyamane/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/yusukeyamane/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/yusukeyamane/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/yusukeyamane/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/yusukeyamane/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/yusukeyamane/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yusukeyamane/protospace/merges","archive_url":"https://api.github.com/repos/yusukeyamane/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yusukeyamane/protospace/downloads","issues_url":"https://api.github.com/repos/yusukeyamane/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/yusukeyamane/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/yusukeyamane/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/yusukeyamane/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yusukeyamane/protospace/labels{/name}","releases_url":"https://api.github.com/repos/yusukeyamane/protospace/releases{/id}","created_at":"2015-10-20T17:34:57Z","updated_at":"2015-10-23T08:35:52Z","pushed_at":"2015-11-15T16:13:43Z","git_url":"git://github.com/yusukeyamane/protospace.git","ssh_url":"git@github.com:yusukeyamane/protospace.git","clone_url":"https://github.com/yusukeyamane/protospace.git","svn_url":"https://github.com/yusukeyamane/protospace","homepage":null,"size":1072,"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":"yusukeyamane:master","ref":"master","sha":"35bf2a8b88b5fc17138bb519e31988f07bff9988","user":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"repo":{"id":44623510,"name":"protospace","full_name":"yusukeyamane/protospace","owner":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yusukeyamane/protospace","description":"","fork":false,"url":"https://api.github.com/repos/yusukeyamane/protospace","forks_url":"https://api.github.com/repos/yusukeyamane/protospace/forks","keys_url":"https://api.github.com/repos/yusukeyamane/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yusukeyamane/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yusukeyamane/protospace/teams","hooks_url":"https://api.github.com/repos/yusukeyamane/protospace/hooks","issue_events_url":"https://api.github.com/repos/yusukeyamane/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/yusukeyamane/protospace/events","assignees_url":"https://api.github.com/repos/yusukeyamane/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/yusukeyamane/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/yusukeyamane/protospace/tags","blobs_url":"https://api.github.com/repos/yusukeyamane/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yusukeyamane/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yusukeyamane/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/yusukeyamane/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yusukeyamane/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/yusukeyamane/protospace/languages","stargazers_url":"https://api.github.com/repos/yusukeyamane/protospace/stargazers","contributors_url":"https://api.github.com/repos/yusukeyamane/protospace/contributors","subscribers_url":"https://api.github.com/repos/yusukeyamane/protospace/subscribers","subscription_url":"https://api.github.com/repos/yusukeyamane/protospace/subscription","commits_url":"https://api.github.com/repos/yusukeyamane/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/yusukeyamane/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/yusukeyamane/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/yusukeyamane/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/yusukeyamane/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/yusukeyamane/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yusukeyamane/protospace/merges","archive_url":"https://api.github.com/repos/yusukeyamane/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yusukeyamane/protospace/downloads","issues_url":"https://api.github.com/repos/yusukeyamane/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/yusukeyamane/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/yusukeyamane/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/yusukeyamane/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yusukeyamane/protospace/labels{/name}","releases_url":"https://api.github.com/repos/yusukeyamane/protospace/releases{/id}","created_at":"2015-10-20T17:34:57Z","updated_at":"2015-10-23T08:35:52Z","pushed_at":"2015-11-15T16:13:43Z","git_url":"git://github.com/yusukeyamane/protospace.git","ssh_url":"git@github.com:yusukeyamane/protospace.git","clone_url":"https://github.com/yusukeyamane/protospace.git","svn_url":"https://github.com/yusukeyamane/protospace","homepage":null,"size":1072,"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/yusukeyamane/protospace/pulls/19"},"html":{"href":"https://github.com/yusukeyamane/protospace/pull/19"},"issue":{"href":"https://api.github.com/repos/yusukeyamane/protospace/issues/19"},"comments":{"href":"https://api.github.com/repos/yusukeyamane/protospace/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/yusukeyamane/protospace/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/yusukeyamane/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yusukeyamane/protospace/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/yusukeyamane/protospace/statuses/f0e2dcff8d8ee4027d826ac6bcad22e785fa6d26"}}}}