{"action":"created","comment":{"url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments/27201109","id":27201109,"diff_hunk":"@@ -1,19 +1,19 @@\n class BillablesController < ApplicationController\n   def index\n-    hours = query(\"hours\")\n-    mileages = query(\"mileages\")\n-    @billable_list = BillableList.new(hours, mileages)\n+    @hours_entries = Hour.query(entry_filter_or_default, [:user, :project, :category])\n+    @mileages_entries = Mileage.query(entry_filter_or_default, [:user, :project])\n+\n+    @billable_list = BillableList.new(@hours_entries, @mileages_entries )","path":"app/controllers/billables_controller.rb","position":9,"original_position":9,"commit_id":"13b0bf3f601a50bff7d3c827678ab67840fc96b4","original_commit_id":"13b0bf3f601a50bff7d3c827678ab67840fc96b4","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Space inside parentheses detected.","created_at":"2015-03-26T10:21:58Z","updated_at":"2015-03-26T10:21:58Z","html_url":"https://github.com/DefactoSoftware/Hours/pull/303#discussion_r27201109","pull_request_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303","_links":{"self":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments/27201109"},"html":{"href":"https://github.com/DefactoSoftware/Hours/pull/303#discussion_r27201109"},"pull_request":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303"}}},"pull_request":{"url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303","id":31942007,"html_url":"https://github.com/DefactoSoftware/Hours/pull/303","diff_url":"https://github.com/DefactoSoftware/Hours/pull/303.diff","patch_url":"https://github.com/DefactoSoftware/Hours/pull/303.patch","issue_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/303","number":303,"state":"open","locked":false,"title":"[WIP] fixes: paths, title, tabs, view warning, style, to_object","user":{"login":"mischaboldy","id":9572013,"avatar_url":"https://avatars.githubusercontent.com/u/9572013?v=3","gravatar_id":"","url":"https://api.github.com/users/mischaboldy","html_url":"https://github.com/mischaboldy","followers_url":"https://api.github.com/users/mischaboldy/followers","following_url":"https://api.github.com/users/mischaboldy/following{/other_user}","gists_url":"https://api.github.com/users/mischaboldy/gists{/gist_id}","starred_url":"https://api.github.com/users/mischaboldy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mischaboldy/subscriptions","organizations_url":"https://api.github.com/users/mischaboldy/orgs","repos_url":"https://api.github.com/users/mischaboldy/repos","events_url":"https://api.github.com/users/mischaboldy/events{/privacy}","received_events_url":"https://api.github.com/users/mischaboldy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-25T16:51:08Z","updated_at":"2015-03-26T10:21:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c42a0d1692740a0cc24da87a53ebbc444761e4ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303/commits","review_comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303/comments","review_comment_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/303/comments","statuses_url":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/13b0bf3f601a50bff7d3c827678ab67840fc96b4","head":{"label":"DefactoSoftware:mischa/fixes","ref":"mischa/fixes","sha":"13b0bf3f601a50bff7d3c827678ab67840fc96b4","user":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":17153103,"name":"Hours","full_name":"DefactoSoftware/Hours","owner":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefactoSoftware/Hours","description":"Time registration that doesn't suck","fork":false,"url":"https://api.github.com/repos/DefactoSoftware/Hours","forks_url":"https://api.github.com/repos/DefactoSoftware/Hours/forks","keys_url":"https://api.github.com/repos/DefactoSoftware/Hours/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefactoSoftware/Hours/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefactoSoftware/Hours/teams","hooks_url":"https://api.github.com/repos/DefactoSoftware/Hours/hooks","issue_events_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/events{/number}","events_url":"https://api.github.com/repos/DefactoSoftware/Hours/events","assignees_url":"https://api.github.com/repos/DefactoSoftware/Hours/assignees{/user}","branches_url":"https://api.github.com/repos/DefactoSoftware/Hours/branches{/branch}","tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/tags","blobs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/{sha}","languages_url":"https://api.github.com/repos/DefactoSoftware/Hours/languages","stargazers_url":"https://api.github.com/repos/DefactoSoftware/Hours/stargazers","contributors_url":"https://api.github.com/repos/DefactoSoftware/Hours/contributors","subscribers_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscribers","subscription_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscription","commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefactoSoftware/Hours/contents/{+path}","compare_url":"https://api.github.com/repos/DefactoSoftware/Hours/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefactoSoftware/Hours/merges","archive_url":"https://api.github.com/repos/DefactoSoftware/Hours/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefactoSoftware/Hours/downloads","issues_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues{/number}","pulls_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls{/number}","milestones_url":"https://api.github.com/repos/DefactoSoftware/Hours/milestones{/number}","notifications_url":"https://api.github.com/repos/DefactoSoftware/Hours/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefactoSoftware/Hours/labels{/name}","releases_url":"https://api.github.com/repos/DefactoSoftware/Hours/releases{/id}","created_at":"2014-02-24T22:25:47Z","updated_at":"2015-03-24T12:52:52Z","pushed_at":"2015-03-26T10:21:53Z","git_url":"git://github.com/DefactoSoftware/Hours.git","ssh_url":"git@github.com:DefactoSoftware/Hours.git","clone_url":"https://github.com/DefactoSoftware/Hours.git","svn_url":"https://github.com/DefactoSoftware/Hours","homepage":"https://happyhours.io","size":12732,"stargazers_count":551,"watchers_count":551,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":28,"forks":65,"open_issues":28,"watchers":551,"default_branch":"development"}},"base":{"label":"DefactoSoftware:development","ref":"development","sha":"6f36c34f8f3ef408a8f55461df8635c2be534ced","user":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":17153103,"name":"Hours","full_name":"DefactoSoftware/Hours","owner":{"login":"DefactoSoftware","id":3899757,"avatar_url":"https://avatars.githubusercontent.com/u/3899757?v=3","gravatar_id":"","url":"https://api.github.com/users/DefactoSoftware","html_url":"https://github.com/DefactoSoftware","followers_url":"https://api.github.com/users/DefactoSoftware/followers","following_url":"https://api.github.com/users/DefactoSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DefactoSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DefactoSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefactoSoftware/subscriptions","organizations_url":"https://api.github.com/users/DefactoSoftware/orgs","repos_url":"https://api.github.com/users/DefactoSoftware/repos","events_url":"https://api.github.com/users/DefactoSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DefactoSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefactoSoftware/Hours","description":"Time registration that doesn't suck","fork":false,"url":"https://api.github.com/repos/DefactoSoftware/Hours","forks_url":"https://api.github.com/repos/DefactoSoftware/Hours/forks","keys_url":"https://api.github.com/repos/DefactoSoftware/Hours/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefactoSoftware/Hours/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefactoSoftware/Hours/teams","hooks_url":"https://api.github.com/repos/DefactoSoftware/Hours/hooks","issue_events_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/events{/number}","events_url":"https://api.github.com/repos/DefactoSoftware/Hours/events","assignees_url":"https://api.github.com/repos/DefactoSoftware/Hours/assignees{/user}","branches_url":"https://api.github.com/repos/DefactoSoftware/Hours/branches{/branch}","tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/tags","blobs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/{sha}","languages_url":"https://api.github.com/repos/DefactoSoftware/Hours/languages","stargazers_url":"https://api.github.com/repos/DefactoSoftware/Hours/stargazers","contributors_url":"https://api.github.com/repos/DefactoSoftware/Hours/contributors","subscribers_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscribers","subscription_url":"https://api.github.com/repos/DefactoSoftware/Hours/subscription","commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefactoSoftware/Hours/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefactoSoftware/Hours/contents/{+path}","compare_url":"https://api.github.com/repos/DefactoSoftware/Hours/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefactoSoftware/Hours/merges","archive_url":"https://api.github.com/repos/DefactoSoftware/Hours/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefactoSoftware/Hours/downloads","issues_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues{/number}","pulls_url":"https://api.github.com/repos/DefactoSoftware/Hours/pulls{/number}","milestones_url":"https://api.github.com/repos/DefactoSoftware/Hours/milestones{/number}","notifications_url":"https://api.github.com/repos/DefactoSoftware/Hours/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefactoSoftware/Hours/labels{/name}","releases_url":"https://api.github.com/repos/DefactoSoftware/Hours/releases{/id}","created_at":"2014-02-24T22:25:47Z","updated_at":"2015-03-24T12:52:52Z","pushed_at":"2015-03-26T10:21:53Z","git_url":"git://github.com/DefactoSoftware/Hours.git","ssh_url":"git@github.com:DefactoSoftware/Hours.git","clone_url":"https://github.com/DefactoSoftware/Hours.git","svn_url":"https://github.com/DefactoSoftware/Hours","homepage":"https://happyhours.io","size":12732,"stargazers_count":551,"watchers_count":551,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":28,"forks":65,"open_issues":28,"watchers":551,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303"},"html":{"href":"https://github.com/DefactoSoftware/Hours/pull/303"},"issue":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/issues/303"},"comments":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/issues/303/comments"},"review_comments":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303/comments"},"review_comment":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/pulls/303/commits"},"statuses":{"href":"https://api.github.com/repos/DefactoSoftware/Hours/statuses/13b0bf3f601a50bff7d3c827678ab67840fc96b4"}}}}