{"action":"created","comment":{"url":"https://api.github.com/repos/mikedao/job_basket/pulls/comments/29551839","id":29551839,"diff_hunk":"@@ -1,5 +1,7 @@\n class MyJobsController < ApplicationController\n   def index\n     @jobs = current_user.jobs_liked.includes(:company)\n+    @tags = current_user.jobs_liked.map\n+      { |job| job.tags.map(&:name) }.flatten.uniq","path":"app/controllers/my_jobs_controller.rb","position":5,"original_position":5,"commit_id":"e07c294d8d0f0460d6d6c2f7f55e00edee9646fc","original_commit_id":"e07c294d8d0f0460d6d6c2f7f55e00edee9646fc","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":"unexpected token tPIPE<br>unexpected token tRCURLY","created_at":"2015-05-03T00:19:13Z","updated_at":"2015-05-03T00:19:13Z","html_url":"https://github.com/mikedao/job_basket/pull/67#discussion_r29551839","pull_request_url":"https://api.github.com/repos/mikedao/job_basket/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/comments/29551839"},"html":{"href":"https://github.com/mikedao/job_basket/pull/67#discussion_r29551839"},"pull_request":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/mikedao/job_basket/pulls/67","id":34594004,"html_url":"https://github.com/mikedao/job_basket/pull/67","diff_url":"https://github.com/mikedao/job_basket/pull/67.diff","patch_url":"https://github.com/mikedao/job_basket/pull/67.patch","issue_url":"https://api.github.com/repos/mikedao/job_basket/issues/67","number":67,"state":"open","locked":false,"title":"Filtering","user":{"login":"larsonkonr","id":7245142,"avatar_url":"https://avatars.githubusercontent.com/u/7245142?v=3","gravatar_id":"","url":"https://api.github.com/users/larsonkonr","html_url":"https://github.com/larsonkonr","followers_url":"https://api.github.com/users/larsonkonr/followers","following_url":"https://api.github.com/users/larsonkonr/following{/other_user}","gists_url":"https://api.github.com/users/larsonkonr/gists{/gist_id}","starred_url":"https://api.github.com/users/larsonkonr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsonkonr/subscriptions","organizations_url":"https://api.github.com/users/larsonkonr/orgs","repos_url":"https://api.github.com/users/larsonkonr/repos","events_url":"https://api.github.com/users/larsonkonr/events{/privacy}","received_events_url":"https://api.github.com/users/larsonkonr/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-03T00:05:38Z","updated_at":"2015-05-03T00:19:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikedao/job_basket/pulls/67/commits","review_comments_url":"https://api.github.com/repos/mikedao/job_basket/pulls/67/comments","review_comment_url":"https://api.github.com/repos/mikedao/job_basket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mikedao/job_basket/issues/67/comments","statuses_url":"https://api.github.com/repos/mikedao/job_basket/statuses/e07c294d8d0f0460d6d6c2f7f55e00edee9646fc","head":{"label":"mikedao:filtering","ref":"filtering","sha":"e07c294d8d0f0460d6d6c2f7f55e00edee9646fc","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":34081901,"name":"job_basket","full_name":"mikedao/job_basket","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/job_basket","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/job_basket","forks_url":"https://api.github.com/repos/mikedao/job_basket/forks","keys_url":"https://api.github.com/repos/mikedao/job_basket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/job_basket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/job_basket/teams","hooks_url":"https://api.github.com/repos/mikedao/job_basket/hooks","issue_events_url":"https://api.github.com/repos/mikedao/job_basket/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/job_basket/events","assignees_url":"https://api.github.com/repos/mikedao/job_basket/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/job_basket/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/job_basket/tags","blobs_url":"https://api.github.com/repos/mikedao/job_basket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/job_basket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/job_basket/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/job_basket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/job_basket/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/job_basket/languages","stargazers_url":"https://api.github.com/repos/mikedao/job_basket/stargazers","contributors_url":"https://api.github.com/repos/mikedao/job_basket/contributors","subscribers_url":"https://api.github.com/repos/mikedao/job_basket/subscribers","subscription_url":"https://api.github.com/repos/mikedao/job_basket/subscription","commits_url":"https://api.github.com/repos/mikedao/job_basket/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/job_basket/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/job_basket/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/job_basket/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/job_basket/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/job_basket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/job_basket/merges","archive_url":"https://api.github.com/repos/mikedao/job_basket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/job_basket/downloads","issues_url":"https://api.github.com/repos/mikedao/job_basket/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/job_basket/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/job_basket/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/job_basket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/job_basket/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/job_basket/releases{/id}","created_at":"2015-04-16T21:35:35Z","updated_at":"2015-05-01T02:11:30Z","pushed_at":"2015-05-03T00:19:06Z","git_url":"git://github.com/mikedao/job_basket.git","ssh_url":"git@github.com:mikedao/job_basket.git","clone_url":"https://github.com/mikedao/job_basket.git","svn_url":"https://github.com/mikedao/job_basket","homepage":null,"size":2784,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"mikedao:filter","ref":"filter","sha":"8155b8f8c6debb19c7b385961fea2a8e1f8d218b","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":34081901,"name":"job_basket","full_name":"mikedao/job_basket","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/job_basket","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/job_basket","forks_url":"https://api.github.com/repos/mikedao/job_basket/forks","keys_url":"https://api.github.com/repos/mikedao/job_basket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/job_basket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/job_basket/teams","hooks_url":"https://api.github.com/repos/mikedao/job_basket/hooks","issue_events_url":"https://api.github.com/repos/mikedao/job_basket/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/job_basket/events","assignees_url":"https://api.github.com/repos/mikedao/job_basket/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/job_basket/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/job_basket/tags","blobs_url":"https://api.github.com/repos/mikedao/job_basket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/job_basket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/job_basket/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/job_basket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/job_basket/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/job_basket/languages","stargazers_url":"https://api.github.com/repos/mikedao/job_basket/stargazers","contributors_url":"https://api.github.com/repos/mikedao/job_basket/contributors","subscribers_url":"https://api.github.com/repos/mikedao/job_basket/subscribers","subscription_url":"https://api.github.com/repos/mikedao/job_basket/subscription","commits_url":"https://api.github.com/repos/mikedao/job_basket/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/job_basket/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/job_basket/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/job_basket/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/job_basket/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/job_basket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/job_basket/merges","archive_url":"https://api.github.com/repos/mikedao/job_basket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/job_basket/downloads","issues_url":"https://api.github.com/repos/mikedao/job_basket/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/job_basket/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/job_basket/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/job_basket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/job_basket/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/job_basket/releases{/id}","created_at":"2015-04-16T21:35:35Z","updated_at":"2015-05-01T02:11:30Z","pushed_at":"2015-05-03T00:19:06Z","git_url":"git://github.com/mikedao/job_basket.git","ssh_url":"git@github.com:mikedao/job_basket.git","clone_url":"https://github.com/mikedao/job_basket.git","svn_url":"https://github.com/mikedao/job_basket","homepage":null,"size":2784,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/67"},"html":{"href":"https://github.com/mikedao/job_basket/pull/67"},"issue":{"href":"https://api.github.com/repos/mikedao/job_basket/issues/67"},"comments":{"href":"https://api.github.com/repos/mikedao/job_basket/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mikedao/job_basket/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/mikedao/job_basket/statuses/e07c294d8d0f0460d6d6c2f7f55e00edee9646fc"}}}}