{"action":"created","comment":{"url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/comments/47536801","id":47536801,"diff_hunk":"@@ -13,6 +13,7 @@ def new\n   def show\n     @topic = Topic.find(params[:id])\n     @questions = Question.where(topic_id: params[:id])\n+    @questions = @questions.paginate(page: params[:page], :per_page => 10)\n     rescue ActiveRecord::RecordNotFound","path":"app/controllers/admin/topics_controller.rb","position":5,"original_position":5,"commit_id":"199573632b2daeacf1ee0b284c310ec4e0168f3b","original_commit_id":"199573632b2daeacf1ee0b284c310ec4e0168f3b","user":{"login":"Kmalynss","id":968370,"avatar_url":"https://avatars.githubusercontent.com/u/968370?v=3","gravatar_id":"","url":"https://api.github.com/users/Kmalynss","html_url":"https://github.com/Kmalynss","followers_url":"https://api.github.com/users/Kmalynss/followers","following_url":"https://api.github.com/users/Kmalynss/following{/other_user}","gists_url":"https://api.github.com/users/Kmalynss/gists{/gist_id}","starred_url":"https://api.github.com/users/Kmalynss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kmalynss/subscriptions","organizations_url":"https://api.github.com/users/Kmalynss/orgs","repos_url":"https://api.github.com/users/Kmalynss/repos","events_url":"https://api.github.com/users/Kmalynss/events{/privacy}","received_events_url":"https://api.github.com/users/Kmalynss/received_events","type":"User","site_admin":false},"body":"why not?\r\n```ruby\r\n@questions = Question.where(topic_id: params[:id]).paginate(page: params[:page], :per_page => 10)\r\n```","created_at":"2015-12-14T18:32:56Z","updated_at":"2015-12-14T18:32:56Z","html_url":"https://github.com/if060-webui-RoR/Aid-Interview/pull/51#discussion_r47536801","pull_request_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/comments/47536801"},"html":{"href":"https://github.com/if060-webui-RoR/Aid-Interview/pull/51#discussion_r47536801"},"pull_request":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51","id":53499043,"html_url":"https://github.com/if060-webui-RoR/Aid-Interview/pull/51","diff_url":"https://github.com/if060-webui-RoR/Aid-Interview/pull/51.diff","patch_url":"https://github.com/if060-webui-RoR/Aid-Interview/pull/51.patch","issue_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/51","number":51,"state":"open","locked":false,"title":"Fix minor style issues","user":{"login":"OrestF","id":15248553,"avatar_url":"https://avatars.githubusercontent.com/u/15248553?v=3","gravatar_id":"","url":"https://api.github.com/users/OrestF","html_url":"https://github.com/OrestF","followers_url":"https://api.github.com/users/OrestF/followers","following_url":"https://api.github.com/users/OrestF/following{/other_user}","gists_url":"https://api.github.com/users/OrestF/gists{/gist_id}","starred_url":"https://api.github.com/users/OrestF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OrestF/subscriptions","organizations_url":"https://api.github.com/users/OrestF/orgs","repos_url":"https://api.github.com/users/OrestF/repos","events_url":"https://api.github.com/users/OrestF/events{/privacy}","received_events_url":"https://api.github.com/users/OrestF/received_events","type":"User","site_admin":false},"body":"Use bigger font size\r\nhttps://trello.com/c/M6qnNkxG/28-use-bigger-fonts-size\r\n\r\nFix image uploading\r\nFix style issues\r\nFix question show page\r\n","created_at":"2015-12-13T12:41:06Z","updated_at":"2015-12-14T18:32:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b480cfcbcd950113a39437dbbafdca6f4cfcc28e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51/commits","review_comments_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51/comments","review_comment_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/51/comments","statuses_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/statuses/199573632b2daeacf1ee0b284c310ec4e0168f3b","head":{"label":"if060-webui-RoR:fix_style","ref":"fix_style","sha":"199573632b2daeacf1ee0b284c310ec4e0168f3b","user":{"login":"if060-webui-RoR","id":15673325,"avatar_url":"https://avatars.githubusercontent.com/u/15673325?v=3","gravatar_id":"","url":"https://api.github.com/users/if060-webui-RoR","html_url":"https://github.com/if060-webui-RoR","followers_url":"https://api.github.com/users/if060-webui-RoR/followers","following_url":"https://api.github.com/users/if060-webui-RoR/following{/other_user}","gists_url":"https://api.github.com/users/if060-webui-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/if060-webui-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/if060-webui-RoR/subscriptions","organizations_url":"https://api.github.com/users/if060-webui-RoR/orgs","repos_url":"https://api.github.com/users/if060-webui-RoR/repos","events_url":"https://api.github.com/users/if060-webui-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/if060-webui-RoR/received_events","type":"Organization","site_admin":false},"repo":{"id":46790920,"name":"Aid-Interview","full_name":"if060-webui-RoR/Aid-Interview","owner":{"login":"if060-webui-RoR","id":15673325,"avatar_url":"https://avatars.githubusercontent.com/u/15673325?v=3","gravatar_id":"","url":"https://api.github.com/users/if060-webui-RoR","html_url":"https://github.com/if060-webui-RoR","followers_url":"https://api.github.com/users/if060-webui-RoR/followers","following_url":"https://api.github.com/users/if060-webui-RoR/following{/other_user}","gists_url":"https://api.github.com/users/if060-webui-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/if060-webui-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/if060-webui-RoR/subscriptions","organizations_url":"https://api.github.com/users/if060-webui-RoR/orgs","repos_url":"https://api.github.com/users/if060-webui-RoR/repos","events_url":"https://api.github.com/users/if060-webui-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/if060-webui-RoR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/if060-webui-RoR/Aid-Interview","description":"Aid-Interview","fork":false,"url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview","forks_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/forks","keys_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/teams","hooks_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/hooks","issue_events_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/events{/number}","events_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/events","assignees_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/assignees{/user}","branches_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/branches{/branch}","tags_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/tags","blobs_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/refs{/sha}","trees_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/statuses/{sha}","languages_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/languages","stargazers_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/stargazers","contributors_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/contributors","subscribers_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/subscribers","subscription_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/subscription","commits_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/commits{/sha}","git_commits_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/commits{/sha}","comments_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/comments{/number}","issue_comment_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/comments{/number}","contents_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/contents/{+path}","compare_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/merges","archive_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/downloads","issues_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues{/number}","pulls_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls{/number}","milestones_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/milestones{/number}","notifications_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/labels{/name}","releases_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/releases{/id}","created_at":"2015-11-24T12:42:01Z","updated_at":"2015-12-04T21:53:36Z","pushed_at":"2015-12-14T18:07:39Z","git_url":"git://github.com/if060-webui-RoR/Aid-Interview.git","ssh_url":"git@github.com:if060-webui-RoR/Aid-Interview.git","clone_url":"https://github.com/if060-webui-RoR/Aid-Interview.git","svn_url":"https://github.com/if060-webui-RoR/Aid-Interview","homepage":"https://aidinterview.herokuapp.com/","size":1561,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"if060-webui-RoR:master","ref":"master","sha":"961a938d01dc56a81228fc85cd8c8b104889be22","user":{"login":"if060-webui-RoR","id":15673325,"avatar_url":"https://avatars.githubusercontent.com/u/15673325?v=3","gravatar_id":"","url":"https://api.github.com/users/if060-webui-RoR","html_url":"https://github.com/if060-webui-RoR","followers_url":"https://api.github.com/users/if060-webui-RoR/followers","following_url":"https://api.github.com/users/if060-webui-RoR/following{/other_user}","gists_url":"https://api.github.com/users/if060-webui-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/if060-webui-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/if060-webui-RoR/subscriptions","organizations_url":"https://api.github.com/users/if060-webui-RoR/orgs","repos_url":"https://api.github.com/users/if060-webui-RoR/repos","events_url":"https://api.github.com/users/if060-webui-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/if060-webui-RoR/received_events","type":"Organization","site_admin":false},"repo":{"id":46790920,"name":"Aid-Interview","full_name":"if060-webui-RoR/Aid-Interview","owner":{"login":"if060-webui-RoR","id":15673325,"avatar_url":"https://avatars.githubusercontent.com/u/15673325?v=3","gravatar_id":"","url":"https://api.github.com/users/if060-webui-RoR","html_url":"https://github.com/if060-webui-RoR","followers_url":"https://api.github.com/users/if060-webui-RoR/followers","following_url":"https://api.github.com/users/if060-webui-RoR/following{/other_user}","gists_url":"https://api.github.com/users/if060-webui-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/if060-webui-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/if060-webui-RoR/subscriptions","organizations_url":"https://api.github.com/users/if060-webui-RoR/orgs","repos_url":"https://api.github.com/users/if060-webui-RoR/repos","events_url":"https://api.github.com/users/if060-webui-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/if060-webui-RoR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/if060-webui-RoR/Aid-Interview","description":"Aid-Interview","fork":false,"url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview","forks_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/forks","keys_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/teams","hooks_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/hooks","issue_events_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/events{/number}","events_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/events","assignees_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/assignees{/user}","branches_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/branches{/branch}","tags_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/tags","blobs_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/refs{/sha}","trees_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/statuses/{sha}","languages_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/languages","stargazers_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/stargazers","contributors_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/contributors","subscribers_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/subscribers","subscription_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/subscription","commits_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/commits{/sha}","git_commits_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/git/commits{/sha}","comments_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/comments{/number}","issue_comment_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/comments{/number}","contents_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/contents/{+path}","compare_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/merges","archive_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/downloads","issues_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues{/number}","pulls_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls{/number}","milestones_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/milestones{/number}","notifications_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/labels{/name}","releases_url":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/releases{/id}","created_at":"2015-11-24T12:42:01Z","updated_at":"2015-12-04T21:53:36Z","pushed_at":"2015-12-14T18:07:39Z","git_url":"git://github.com/if060-webui-RoR/Aid-Interview.git","ssh_url":"git@github.com:if060-webui-RoR/Aid-Interview.git","clone_url":"https://github.com/if060-webui-RoR/Aid-Interview.git","svn_url":"https://github.com/if060-webui-RoR/Aid-Interview","homepage":"https://aidinterview.herokuapp.com/","size":1561,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51"},"html":{"href":"https://github.com/if060-webui-RoR/Aid-Interview/pull/51"},"issue":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/51"},"comments":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/if060-webui-RoR/Aid-Interview/statuses/199573632b2daeacf1ee0b284c310ec4e0168f3b"}}}}