{"action":"created","comment":{"url":"https://api.github.com/repos/boddhisattva/expenses/pulls/comments/42867789","id":42867789,"diff_hunk":"@@ -0,0 +1,14 @@\n+module ExpensesHelper\n+  def format_date(date)\n+    date.strftime(\"%d %B, %Y\")\n+  end\n+\n+  def display_ajax_success(message)\n+    html = ''","path":"app/helpers/expenses_helper.rb","position":7,"original_position":7,"commit_id":"15e612a948111bcdbd7efe023ab9ebd056f9464d","original_commit_id":"15e612a948111bcdbd7efe023ab9ebd056f9464d","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-10-23T14:04:31Z","updated_at":"2015-10-23T14:04:31Z","html_url":"https://github.com/boddhisattva/expenses/pull/10#discussion_r42867789","pull_request_url":"https://api.github.com/repos/boddhisattva/expenses/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/boddhisattva/expenses/pulls/comments/42867789"},"html":{"href":"https://github.com/boddhisattva/expenses/pull/10#discussion_r42867789"},"pull_request":{"href":"https://api.github.com/repos/boddhisattva/expenses/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/boddhisattva/expenses/pulls/10","id":48583748,"html_url":"https://github.com/boddhisattva/expenses/pull/10","diff_url":"https://github.com/boddhisattva/expenses/pull/10.diff","patch_url":"https://github.com/boddhisattva/expenses/pull/10.patch","issue_url":"https://api.github.com/repos/boddhisattva/expenses/issues/10","number":10,"state":"open","locked":false,"title":"Add ability to perform other expense operations","user":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars.githubusercontent.com/u/655963?v=3","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-23T14:04:23Z","updated_at":"2015-10-23T14:04:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd457d931e2333397f9ecd0c62ab9446fcfaf516","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/boddhisattva/expenses/pulls/10/commits","review_comments_url":"https://api.github.com/repos/boddhisattva/expenses/pulls/10/comments","review_comment_url":"https://api.github.com/repos/boddhisattva/expenses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boddhisattva/expenses/issues/10/comments","statuses_url":"https://api.github.com/repos/boddhisattva/expenses/statuses/15e612a948111bcdbd7efe023ab9ebd056f9464d","head":{"label":"boddhisattva:10-other-expense-related-operations","ref":"10-other-expense-related-operations","sha":"15e612a948111bcdbd7efe023ab9ebd056f9464d","user":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars.githubusercontent.com/u/655963?v=3","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"repo":{"id":44458244,"name":"expenses","full_name":"boddhisattva/expenses","owner":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars.githubusercontent.com/u/655963?v=3","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boddhisattva/expenses","description":"An expense management app","fork":false,"url":"https://api.github.com/repos/boddhisattva/expenses","forks_url":"https://api.github.com/repos/boddhisattva/expenses/forks","keys_url":"https://api.github.com/repos/boddhisattva/expenses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boddhisattva/expenses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boddhisattva/expenses/teams","hooks_url":"https://api.github.com/repos/boddhisattva/expenses/hooks","issue_events_url":"https://api.github.com/repos/boddhisattva/expenses/issues/events{/number}","events_url":"https://api.github.com/repos/boddhisattva/expenses/events","assignees_url":"https://api.github.com/repos/boddhisattva/expenses/assignees{/user}","branches_url":"https://api.github.com/repos/boddhisattva/expenses/branches{/branch}","tags_url":"https://api.github.com/repos/boddhisattva/expenses/tags","blobs_url":"https://api.github.com/repos/boddhisattva/expenses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boddhisattva/expenses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boddhisattva/expenses/git/refs{/sha}","trees_url":"https://api.github.com/repos/boddhisattva/expenses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boddhisattva/expenses/statuses/{sha}","languages_url":"https://api.github.com/repos/boddhisattva/expenses/languages","stargazers_url":"https://api.github.com/repos/boddhisattva/expenses/stargazers","contributors_url":"https://api.github.com/repos/boddhisattva/expenses/contributors","subscribers_url":"https://api.github.com/repos/boddhisattva/expenses/subscribers","subscription_url":"https://api.github.com/repos/boddhisattva/expenses/subscription","commits_url":"https://api.github.com/repos/boddhisattva/expenses/commits{/sha}","git_commits_url":"https://api.github.com/repos/boddhisattva/expenses/git/commits{/sha}","comments_url":"https://api.github.com/repos/boddhisattva/expenses/comments{/number}","issue_comment_url":"https://api.github.com/repos/boddhisattva/expenses/issues/comments{/number}","contents_url":"https://api.github.com/repos/boddhisattva/expenses/contents/{+path}","compare_url":"https://api.github.com/repos/boddhisattva/expenses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boddhisattva/expenses/merges","archive_url":"https://api.github.com/repos/boddhisattva/expenses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boddhisattva/expenses/downloads","issues_url":"https://api.github.com/repos/boddhisattva/expenses/issues{/number}","pulls_url":"https://api.github.com/repos/boddhisattva/expenses/pulls{/number}","milestones_url":"https://api.github.com/repos/boddhisattva/expenses/milestones{/number}","notifications_url":"https://api.github.com/repos/boddhisattva/expenses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boddhisattva/expenses/labels{/name}","releases_url":"https://api.github.com/repos/boddhisattva/expenses/releases{/id}","created_at":"2015-10-17T23:19:30Z","updated_at":"2015-10-17T23:21:51Z","pushed_at":"2015-10-23T14:04:23Z","git_url":"git://github.com/boddhisattva/expenses.git","ssh_url":"git@github.com:boddhisattva/expenses.git","clone_url":"https://github.com/boddhisattva/expenses.git","svn_url":"https://github.com/boddhisattva/expenses","homepage":null,"size":0,"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":"boddhisattva:master","ref":"master","sha":"d0b8c77574ceff7e29c5aa46aee8df2307dc659e","user":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars.githubusercontent.com/u/655963?v=3","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"repo":{"id":44458244,"name":"expenses","full_name":"boddhisattva/expenses","owner":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars.githubusercontent.com/u/655963?v=3","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boddhisattva/expenses","description":"An expense management app","fork":false,"url":"https://api.github.com/repos/boddhisattva/expenses","forks_url":"https://api.github.com/repos/boddhisattva/expenses/forks","keys_url":"https://api.github.com/repos/boddhisattva/expenses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boddhisattva/expenses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boddhisattva/expenses/teams","hooks_url":"https://api.github.com/repos/boddhisattva/expenses/hooks","issue_events_url":"https://api.github.com/repos/boddhisattva/expenses/issues/events{/number}","events_url":"https://api.github.com/repos/boddhisattva/expenses/events","assignees_url":"https://api.github.com/repos/boddhisattva/expenses/assignees{/user}","branches_url":"https://api.github.com/repos/boddhisattva/expenses/branches{/branch}","tags_url":"https://api.github.com/repos/boddhisattva/expenses/tags","blobs_url":"https://api.github.com/repos/boddhisattva/expenses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boddhisattva/expenses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boddhisattva/expenses/git/refs{/sha}","trees_url":"https://api.github.com/repos/boddhisattva/expenses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boddhisattva/expenses/statuses/{sha}","languages_url":"https://api.github.com/repos/boddhisattva/expenses/languages","stargazers_url":"https://api.github.com/repos/boddhisattva/expenses/stargazers","contributors_url":"https://api.github.com/repos/boddhisattva/expenses/contributors","subscribers_url":"https://api.github.com/repos/boddhisattva/expenses/subscribers","subscription_url":"https://api.github.com/repos/boddhisattva/expenses/subscription","commits_url":"https://api.github.com/repos/boddhisattva/expenses/commits{/sha}","git_commits_url":"https://api.github.com/repos/boddhisattva/expenses/git/commits{/sha}","comments_url":"https://api.github.com/repos/boddhisattva/expenses/comments{/number}","issue_comment_url":"https://api.github.com/repos/boddhisattva/expenses/issues/comments{/number}","contents_url":"https://api.github.com/repos/boddhisattva/expenses/contents/{+path}","compare_url":"https://api.github.com/repos/boddhisattva/expenses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boddhisattva/expenses/merges","archive_url":"https://api.github.com/repos/boddhisattva/expenses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boddhisattva/expenses/downloads","issues_url":"https://api.github.com/repos/boddhisattva/expenses/issues{/number}","pulls_url":"https://api.github.com/repos/boddhisattva/expenses/pulls{/number}","milestones_url":"https://api.github.com/repos/boddhisattva/expenses/milestones{/number}","notifications_url":"https://api.github.com/repos/boddhisattva/expenses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boddhisattva/expenses/labels{/name}","releases_url":"https://api.github.com/repos/boddhisattva/expenses/releases{/id}","created_at":"2015-10-17T23:19:30Z","updated_at":"2015-10-17T23:21:51Z","pushed_at":"2015-10-23T14:04:23Z","git_url":"git://github.com/boddhisattva/expenses.git","ssh_url":"git@github.com:boddhisattva/expenses.git","clone_url":"https://github.com/boddhisattva/expenses.git","svn_url":"https://github.com/boddhisattva/expenses","homepage":null,"size":0,"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/boddhisattva/expenses/pulls/10"},"html":{"href":"https://github.com/boddhisattva/expenses/pull/10"},"issue":{"href":"https://api.github.com/repos/boddhisattva/expenses/issues/10"},"comments":{"href":"https://api.github.com/repos/boddhisattva/expenses/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/boddhisattva/expenses/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/boddhisattva/expenses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boddhisattva/expenses/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/boddhisattva/expenses/statuses/15e612a948111bcdbd7efe023ab9ebd056f9464d"}}}}