{"action":"created","comment":{"url":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/comments/35088083","id":35088083,"diff_hunk":"@@ -10,6 +10,11 @@ def create\n     respond_with(:profile, @result)\n   end\n \n+  def bulk_delete\n+    Result.destroy(params[:result_ids]) if params[:result_ids]","path":"app/controllers/results_controller.rb","position":5,"original_position":5,"commit_id":"cd268da634be63fdd7235ec2fd685482ee3020dd","original_commit_id":"cd268da634be63fdd7235ec2fd685482ee3020dd","user":{"login":"stevschmid","id":2707380,"avatar_url":"https://avatars.githubusercontent.com/u/2707380?v=3","gravatar_id":"","url":"https://api.github.com/users/stevschmid","html_url":"https://github.com/stevschmid","followers_url":"https://api.github.com/users/stevschmid/followers","following_url":"https://api.github.com/users/stevschmid/following{/other_user}","gists_url":"https://api.github.com/users/stevschmid/gists{/gist_id}","starred_url":"https://api.github.com/users/stevschmid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevschmid/subscriptions","organizations_url":"https://api.github.com/users/stevschmid/orgs","repos_url":"https://api.github.com/users/stevschmid/repos","events_url":"https://api.github.com/users/stevschmid/events{/privacy}","received_events_url":"https://api.github.com/users/stevschmid/received_events","type":"User","site_admin":false},"body":"Thanks @luxflux. I noticed this as well and fixed this in the branch I'm currently working on","created_at":"2015-07-21T10:13:57Z","updated_at":"2015-07-21T10:13:57Z","html_url":"https://github.com/stevschmid/trackobot.com/pull/15#discussion_r35088083","pull_request_url":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/comments/35088083"},"html":{"href":"https://github.com/stevschmid/trackobot.com/pull/15#discussion_r35088083"},"pull_request":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15","id":32723924,"html_url":"https://github.com/stevschmid/trackobot.com/pull/15","diff_url":"https://github.com/stevschmid/trackobot.com/pull/15.diff","patch_url":"https://github.com/stevschmid/trackobot.com/pull/15.patch","issue_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/15","number":15,"state":"open","locked":false,"title":"Bulk delete results","user":{"login":"gssjr","id":2048811,"avatar_url":"https://avatars.githubusercontent.com/u/2048811?v=3","gravatar_id":"","url":"https://api.github.com/users/gssjr","html_url":"https://github.com/gssjr","followers_url":"https://api.github.com/users/gssjr/followers","following_url":"https://api.github.com/users/gssjr/following{/other_user}","gists_url":"https://api.github.com/users/gssjr/gists{/gist_id}","starred_url":"https://api.github.com/users/gssjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gssjr/subscriptions","organizations_url":"https://api.github.com/users/gssjr/orgs","repos_url":"https://api.github.com/users/gssjr/repos","events_url":"https://api.github.com/users/gssjr/events{/privacy}","received_events_url":"https://api.github.com/users/gssjr/received_events","type":"User","site_admin":false},"body":"This doesn't support arena results. There are only tests for models and controllers, not javascript/views. There are some improvements that could be made like being able to select across pages (a la gmail).","created_at":"2015-04-07T00:24:27Z","updated_at":"2015-07-21T10:13:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"045d6da00ff91f60bd91bce014cdd377fb00f913","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15/commits","review_comments_url":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15/comments","review_comment_url":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/15/comments","statuses_url":"https://api.github.com/repos/stevschmid/trackobot.com/statuses/cd268da634be63fdd7235ec2fd685482ee3020dd","head":{"label":"gssjr:bulk-delete-results","ref":"bulk-delete-results","sha":"cd268da634be63fdd7235ec2fd685482ee3020dd","user":{"login":"gssjr","id":2048811,"avatar_url":"https://avatars.githubusercontent.com/u/2048811?v=3","gravatar_id":"","url":"https://api.github.com/users/gssjr","html_url":"https://github.com/gssjr","followers_url":"https://api.github.com/users/gssjr/followers","following_url":"https://api.github.com/users/gssjr/following{/other_user}","gists_url":"https://api.github.com/users/gssjr/gists{/gist_id}","starred_url":"https://api.github.com/users/gssjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gssjr/subscriptions","organizations_url":"https://api.github.com/users/gssjr/orgs","repos_url":"https://api.github.com/users/gssjr/repos","events_url":"https://api.github.com/users/gssjr/events{/privacy}","received_events_url":"https://api.github.com/users/gssjr/received_events","type":"User","site_admin":false},"repo":{"id":33512785,"name":"trackobot.com","full_name":"gssjr/trackobot.com","owner":{"login":"gssjr","id":2048811,"avatar_url":"https://avatars.githubusercontent.com/u/2048811?v=3","gravatar_id":"","url":"https://api.github.com/users/gssjr","html_url":"https://github.com/gssjr","followers_url":"https://api.github.com/users/gssjr/followers","following_url":"https://api.github.com/users/gssjr/following{/other_user}","gists_url":"https://api.github.com/users/gssjr/gists{/gist_id}","starred_url":"https://api.github.com/users/gssjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gssjr/subscriptions","organizations_url":"https://api.github.com/users/gssjr/orgs","repos_url":"https://api.github.com/users/gssjr/repos","events_url":"https://api.github.com/users/gssjr/events{/privacy}","received_events_url":"https://api.github.com/users/gssjr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gssjr/trackobot.com","description":"The website of the friendly Hearthstone Tracker","fork":true,"url":"https://api.github.com/repos/gssjr/trackobot.com","forks_url":"https://api.github.com/repos/gssjr/trackobot.com/forks","keys_url":"https://api.github.com/repos/gssjr/trackobot.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gssjr/trackobot.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gssjr/trackobot.com/teams","hooks_url":"https://api.github.com/repos/gssjr/trackobot.com/hooks","issue_events_url":"https://api.github.com/repos/gssjr/trackobot.com/issues/events{/number}","events_url":"https://api.github.com/repos/gssjr/trackobot.com/events","assignees_url":"https://api.github.com/repos/gssjr/trackobot.com/assignees{/user}","branches_url":"https://api.github.com/repos/gssjr/trackobot.com/branches{/branch}","tags_url":"https://api.github.com/repos/gssjr/trackobot.com/tags","blobs_url":"https://api.github.com/repos/gssjr/trackobot.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gssjr/trackobot.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gssjr/trackobot.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/gssjr/trackobot.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gssjr/trackobot.com/statuses/{sha}","languages_url":"https://api.github.com/repos/gssjr/trackobot.com/languages","stargazers_url":"https://api.github.com/repos/gssjr/trackobot.com/stargazers","contributors_url":"https://api.github.com/repos/gssjr/trackobot.com/contributors","subscribers_url":"https://api.github.com/repos/gssjr/trackobot.com/subscribers","subscription_url":"https://api.github.com/repos/gssjr/trackobot.com/subscription","commits_url":"https://api.github.com/repos/gssjr/trackobot.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/gssjr/trackobot.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/gssjr/trackobot.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/gssjr/trackobot.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/gssjr/trackobot.com/contents/{+path}","compare_url":"https://api.github.com/repos/gssjr/trackobot.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gssjr/trackobot.com/merges","archive_url":"https://api.github.com/repos/gssjr/trackobot.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gssjr/trackobot.com/downloads","issues_url":"https://api.github.com/repos/gssjr/trackobot.com/issues{/number}","pulls_url":"https://api.github.com/repos/gssjr/trackobot.com/pulls{/number}","milestones_url":"https://api.github.com/repos/gssjr/trackobot.com/milestones{/number}","notifications_url":"https://api.github.com/repos/gssjr/trackobot.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gssjr/trackobot.com/labels{/name}","releases_url":"https://api.github.com/repos/gssjr/trackobot.com/releases{/id}","created_at":"2015-04-07T00:19:08Z","updated_at":"2015-04-07T00:19:09Z","pushed_at":"2015-04-07T00:21:56Z","git_url":"git://github.com/gssjr/trackobot.com.git","ssh_url":"git@github.com:gssjr/trackobot.com.git","clone_url":"https://github.com/gssjr/trackobot.com.git","svn_url":"https://github.com/gssjr/trackobot.com","homepage":"https://trackobot.com","size":4797,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"stevschmid:master","ref":"master","sha":"6241a492d19f4f606359d88b83afccefe1faff98","user":{"login":"stevschmid","id":2707380,"avatar_url":"https://avatars.githubusercontent.com/u/2707380?v=3","gravatar_id":"","url":"https://api.github.com/users/stevschmid","html_url":"https://github.com/stevschmid","followers_url":"https://api.github.com/users/stevschmid/followers","following_url":"https://api.github.com/users/stevschmid/following{/other_user}","gists_url":"https://api.github.com/users/stevschmid/gists{/gist_id}","starred_url":"https://api.github.com/users/stevschmid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevschmid/subscriptions","organizations_url":"https://api.github.com/users/stevschmid/orgs","repos_url":"https://api.github.com/users/stevschmid/repos","events_url":"https://api.github.com/users/stevschmid/events{/privacy}","received_events_url":"https://api.github.com/users/stevschmid/received_events","type":"User","site_admin":false},"repo":{"id":23876101,"name":"trackobot.com","full_name":"stevschmid/trackobot.com","owner":{"login":"stevschmid","id":2707380,"avatar_url":"https://avatars.githubusercontent.com/u/2707380?v=3","gravatar_id":"","url":"https://api.github.com/users/stevschmid","html_url":"https://github.com/stevschmid","followers_url":"https://api.github.com/users/stevschmid/followers","following_url":"https://api.github.com/users/stevschmid/following{/other_user}","gists_url":"https://api.github.com/users/stevschmid/gists{/gist_id}","starred_url":"https://api.github.com/users/stevschmid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevschmid/subscriptions","organizations_url":"https://api.github.com/users/stevschmid/orgs","repos_url":"https://api.github.com/users/stevschmid/repos","events_url":"https://api.github.com/users/stevschmid/events{/privacy}","received_events_url":"https://api.github.com/users/stevschmid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevschmid/trackobot.com","description":"The website of the friendly Hearthstone Tracker","fork":false,"url":"https://api.github.com/repos/stevschmid/trackobot.com","forks_url":"https://api.github.com/repos/stevschmid/trackobot.com/forks","keys_url":"https://api.github.com/repos/stevschmid/trackobot.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevschmid/trackobot.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevschmid/trackobot.com/teams","hooks_url":"https://api.github.com/repos/stevschmid/trackobot.com/hooks","issue_events_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/events{/number}","events_url":"https://api.github.com/repos/stevschmid/trackobot.com/events","assignees_url":"https://api.github.com/repos/stevschmid/trackobot.com/assignees{/user}","branches_url":"https://api.github.com/repos/stevschmid/trackobot.com/branches{/branch}","tags_url":"https://api.github.com/repos/stevschmid/trackobot.com/tags","blobs_url":"https://api.github.com/repos/stevschmid/trackobot.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevschmid/trackobot.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevschmid/trackobot.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevschmid/trackobot.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevschmid/trackobot.com/statuses/{sha}","languages_url":"https://api.github.com/repos/stevschmid/trackobot.com/languages","stargazers_url":"https://api.github.com/repos/stevschmid/trackobot.com/stargazers","contributors_url":"https://api.github.com/repos/stevschmid/trackobot.com/contributors","subscribers_url":"https://api.github.com/repos/stevschmid/trackobot.com/subscribers","subscription_url":"https://api.github.com/repos/stevschmid/trackobot.com/subscription","commits_url":"https://api.github.com/repos/stevschmid/trackobot.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevschmid/trackobot.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevschmid/trackobot.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevschmid/trackobot.com/contents/{+path}","compare_url":"https://api.github.com/repos/stevschmid/trackobot.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevschmid/trackobot.com/merges","archive_url":"https://api.github.com/repos/stevschmid/trackobot.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevschmid/trackobot.com/downloads","issues_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues{/number}","pulls_url":"https://api.github.com/repos/stevschmid/trackobot.com/pulls{/number}","milestones_url":"https://api.github.com/repos/stevschmid/trackobot.com/milestones{/number}","notifications_url":"https://api.github.com/repos/stevschmid/trackobot.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevschmid/trackobot.com/labels{/name}","releases_url":"https://api.github.com/repos/stevschmid/trackobot.com/releases{/id}","created_at":"2014-09-10T13:49:17Z","updated_at":"2015-07-10T23:46:16Z","pushed_at":"2015-05-31T10:04:14Z","git_url":"git://github.com/stevschmid/trackobot.com.git","ssh_url":"git@github.com:stevschmid/trackobot.com.git","clone_url":"https://github.com/stevschmid/trackobot.com.git","svn_url":"https://github.com/stevschmid/trackobot.com","homepage":"https://trackobot.com","size":4970,"stargazers_count":23,"watchers_count":23,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15"},"html":{"href":"https://github.com/stevschmid/trackobot.com/pull/15"},"issue":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/issues/15"},"comments":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/stevschmid/trackobot.com/statuses/cd268da634be63fdd7235ec2fd685482ee3020dd"}}}}