{"action":"created","comment":{"url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/comments/175626926","pull_request_review_id":105186503,"id":175626926,"diff_hunk":"@@ -1,8 +1,8 @@\n class Api::V1::LeadsController < ApplicationController\n \n   def index\n-    @leads = Lead.includes(:events).order(\"events.created_at DESC NULLS LAST\").limit(params[\"count\"])\n-    render \"index.json.jbuilder\"\n+    @leads = Lead.includes(:events).order(\"events.created_at DESC NULLS LAST\").offset(params[\"count\"]).limit(50)","path":"app/controllers/api/v1/leads_controller.rb","position":6,"original_position":6,"commit_id":"554bfe78fcc4a1b4ad92378cd7b8cde2a1ca0e8f","original_commit_id":"554bfe78fcc4a1b4ad92378cd7b8cde2a1ca0e8f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings when you don't need string interpolation or special symbols.<br>Line is too long. [112/80]","created_at":"2018-03-20T00:33:22Z","updated_at":"2018-03-20T00:33:22Z","html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api/pull/26#discussion_r175626926","pull_request_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/comments/175626926"},"html":{"href":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api/pull/26#discussion_r175626926"},"pull_request":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26","id":175408207,"html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api/pull/26","diff_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api/pull/26.diff","patch_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api/pull/26.patch","issue_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/26","number":26,"state":"open","locked":false,"title":"Td js 320","user":{"login":"tylerdamme","id":33385024,"avatar_url":"https://avatars1.githubusercontent.com/u/33385024?v=4","gravatar_id":"","url":"https://api.github.com/users/tylerdamme","html_url":"https://github.com/tylerdamme","followers_url":"https://api.github.com/users/tylerdamme/followers","following_url":"https://api.github.com/users/tylerdamme/following{/other_user}","gists_url":"https://api.github.com/users/tylerdamme/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerdamme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerdamme/subscriptions","organizations_url":"https://api.github.com/users/tylerdamme/orgs","repos_url":"https://api.github.com/users/tylerdamme/repos","events_url":"https://api.github.com/users/tylerdamme/events{/privacy}","received_events_url":"https://api.github.com/users/tylerdamme/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-15T23:50:10Z","updated_at":"2018-03-20T00:33:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc575b6c4c49adc9917cfb6bfb035dca9b6f71d5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26/commits","review_comments_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26/comments","review_comment_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/26/comments","statuses_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/statuses/554bfe78fcc4a1b4ad92378cd7b8cde2a1ca0e8f","head":{"label":"Actualize-Apprenticeship-Team-Nikki:TD-JS-320","ref":"TD-JS-320","sha":"554bfe78fcc4a1b4ad92378cd7b8cde2a1ca0e8f","user":{"login":"Actualize-Apprenticeship-Team-Nikki","id":36176393,"avatar_url":"https://avatars2.githubusercontent.com/u/36176393?v=4","gravatar_id":"","url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki","html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki","followers_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/followers","following_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/following{/other_user}","gists_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/gists{/gist_id}","starred_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/subscriptions","organizations_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/orgs","repos_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/repos","events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/events{/privacy}","received_events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/received_events","type":"Organization","site_admin":false},"repo":{"id":120380850,"name":"crm_api","full_name":"Actualize-Apprenticeship-Team-Nikki/crm_api","owner":{"login":"Actualize-Apprenticeship-Team-Nikki","id":36176393,"avatar_url":"https://avatars2.githubusercontent.com/u/36176393?v=4","gravatar_id":"","url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki","html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki","followers_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/followers","following_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/following{/other_user}","gists_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/gists{/gist_id}","starred_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/subscriptions","organizations_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/orgs","repos_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/repos","events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/events{/privacy}","received_events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api","description":null,"fork":false,"url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api","forks_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/forks","keys_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/teams","hooks_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/hooks","issue_events_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/events{/number}","events_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/events","assignees_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/assignees{/user}","branches_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/branches{/branch}","tags_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/tags","blobs_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/statuses/{sha}","languages_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/languages","stargazers_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/stargazers","contributors_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/contributors","subscribers_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/subscribers","subscription_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/subscription","commits_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/contents/{+path}","compare_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/merges","archive_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/downloads","issues_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues{/number}","pulls_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls{/number}","milestones_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/milestones{/number}","notifications_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/labels{/name}","releases_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/releases{/id}","deployments_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/deployments","created_at":"2018-02-06T00:40:44Z","updated_at":"2018-03-20T00:16:10Z","pushed_at":"2018-03-20T00:33:14Z","git_url":"git://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api.git","ssh_url":"git@github.com:Actualize-Apprenticeship-Team-Nikki/crm_api.git","clone_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api.git","svn_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api","homepage":null,"size":1915,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"dev"}},"base":{"label":"Actualize-Apprenticeship-Team-Nikki:dev","ref":"dev","sha":"8f7784c3a57de0bbe80ecef8060b45e153129896","user":{"login":"Actualize-Apprenticeship-Team-Nikki","id":36176393,"avatar_url":"https://avatars2.githubusercontent.com/u/36176393?v=4","gravatar_id":"","url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki","html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki","followers_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/followers","following_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/following{/other_user}","gists_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/gists{/gist_id}","starred_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/subscriptions","organizations_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/orgs","repos_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/repos","events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/events{/privacy}","received_events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/received_events","type":"Organization","site_admin":false},"repo":{"id":120380850,"name":"crm_api","full_name":"Actualize-Apprenticeship-Team-Nikki/crm_api","owner":{"login":"Actualize-Apprenticeship-Team-Nikki","id":36176393,"avatar_url":"https://avatars2.githubusercontent.com/u/36176393?v=4","gravatar_id":"","url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki","html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki","followers_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/followers","following_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/following{/other_user}","gists_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/gists{/gist_id}","starred_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/subscriptions","organizations_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/orgs","repos_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/repos","events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/events{/privacy}","received_events_url":"https://api.github.com/users/Actualize-Apprenticeship-Team-Nikki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api","description":null,"fork":false,"url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api","forks_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/forks","keys_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/teams","hooks_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/hooks","issue_events_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/events{/number}","events_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/events","assignees_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/assignees{/user}","branches_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/branches{/branch}","tags_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/tags","blobs_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/statuses/{sha}","languages_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/languages","stargazers_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/stargazers","contributors_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/contributors","subscribers_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/subscribers","subscription_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/subscription","commits_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/contents/{+path}","compare_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/merges","archive_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/downloads","issues_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues{/number}","pulls_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls{/number}","milestones_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/milestones{/number}","notifications_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/labels{/name}","releases_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/releases{/id}","deployments_url":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/deployments","created_at":"2018-02-06T00:40:44Z","updated_at":"2018-03-20T00:16:10Z","pushed_at":"2018-03-20T00:33:14Z","git_url":"git://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api.git","ssh_url":"git@github.com:Actualize-Apprenticeship-Team-Nikki/crm_api.git","clone_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api.git","svn_url":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api","homepage":null,"size":1915,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26"},"html":{"href":"https://github.com/Actualize-Apprenticeship-Team-Nikki/crm_api/pull/26"},"issue":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/26"},"comments":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/Actualize-Apprenticeship-Team-Nikki/crm_api/statuses/554bfe78fcc4a1b4ad92378cd7b8cde2a1ca0e8f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}