{"action":"created","comment":{"url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/comments/22443018","id":22443018,"diff_hunk":"@@ -48,6 +48,13 @@ def display_categories\n     self.categories.map(&:name).join(\", \")\n   end\n \n+  def set_categories input","path":"models/job.rb","position":4,"original_position":4,"commit_id":"c05d9095a66e67fe3019a2e053f6a4a8c690845e","original_commit_id":"c05d9095a66e67fe3019a2e053f6a4a8c690845e","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":"Use def with parentheses when there are parameters.","created_at":"2015-01-04T21:48:14Z","updated_at":"2015-01-04T21:48:14Z","html_url":"https://github.com/sajmoon/Jobbportal/pull/37#discussion_r22443018","pull_request_url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/comments/22443018"},"html":{"href":"https://github.com/sajmoon/Jobbportal/pull/37#discussion_r22443018"},"pull_request":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37","id":26799329,"html_url":"https://github.com/sajmoon/Jobbportal/pull/37","diff_url":"https://github.com/sajmoon/Jobbportal/pull/37.diff","patch_url":"https://github.com/sajmoon/Jobbportal/pull/37.patch","issue_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues/37","number":37,"state":"open","locked":false,"title":"spec #new","user":{"login":"sajmoon","id":234977,"avatar_url":"https://avatars.githubusercontent.com/u/234977?v=3","gravatar_id":"","url":"https://api.github.com/users/sajmoon","html_url":"https://github.com/sajmoon","followers_url":"https://api.github.com/users/sajmoon/followers","following_url":"https://api.github.com/users/sajmoon/following{/other_user}","gists_url":"https://api.github.com/users/sajmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmoon/subscriptions","organizations_url":"https://api.github.com/users/sajmoon/orgs","repos_url":"https://api.github.com/users/sajmoon/repos","events_url":"https://api.github.com/users/sajmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sajmoon/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-04T20:48:28Z","updated_at":"2015-01-04T21:48:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f36f3c12a6e3bd0322716e8d19b588a67ef596e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37/commits","review_comments_url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37/comments","review_comment_url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues/37/comments","statuses_url":"https://api.github.com/repos/sajmoon/Jobbportal/statuses/c05d9095a66e67fe3019a2e053f6a4a8c690845e","head":{"label":"sajmoon:job-refactor","ref":"job-refactor","sha":"c05d9095a66e67fe3019a2e053f6a4a8c690845e","user":{"login":"sajmoon","id":234977,"avatar_url":"https://avatars.githubusercontent.com/u/234977?v=3","gravatar_id":"","url":"https://api.github.com/users/sajmoon","html_url":"https://github.com/sajmoon","followers_url":"https://api.github.com/users/sajmoon/followers","following_url":"https://api.github.com/users/sajmoon/following{/other_user}","gists_url":"https://api.github.com/users/sajmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmoon/subscriptions","organizations_url":"https://api.github.com/users/sajmoon/orgs","repos_url":"https://api.github.com/users/sajmoon/repos","events_url":"https://api.github.com/users/sajmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sajmoon/received_events","type":"User","site_admin":false},"repo":{"id":4192094,"name":"Jobbportal","full_name":"sajmoon/Jobbportal","owner":{"login":"sajmoon","id":234977,"avatar_url":"https://avatars.githubusercontent.com/u/234977?v=3","gravatar_id":"","url":"https://api.github.com/users/sajmoon","html_url":"https://github.com/sajmoon","followers_url":"https://api.github.com/users/sajmoon/followers","following_url":"https://api.github.com/users/sajmoon/following{/other_user}","gists_url":"https://api.github.com/users/sajmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmoon/subscriptions","organizations_url":"https://api.github.com/users/sajmoon/orgs","repos_url":"https://api.github.com/users/sajmoon/repos","events_url":"https://api.github.com/users/sajmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sajmoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sajmoon/Jobbportal","description":"Datasektionens jobbportal","fork":false,"url":"https://api.github.com/repos/sajmoon/Jobbportal","forks_url":"https://api.github.com/repos/sajmoon/Jobbportal/forks","keys_url":"https://api.github.com/repos/sajmoon/Jobbportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sajmoon/Jobbportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sajmoon/Jobbportal/teams","hooks_url":"https://api.github.com/repos/sajmoon/Jobbportal/hooks","issue_events_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues/events{/number}","events_url":"https://api.github.com/repos/sajmoon/Jobbportal/events","assignees_url":"https://api.github.com/repos/sajmoon/Jobbportal/assignees{/user}","branches_url":"https://api.github.com/repos/sajmoon/Jobbportal/branches{/branch}","tags_url":"https://api.github.com/repos/sajmoon/Jobbportal/tags","blobs_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sajmoon/Jobbportal/statuses/{sha}","languages_url":"https://api.github.com/repos/sajmoon/Jobbportal/languages","stargazers_url":"https://api.github.com/repos/sajmoon/Jobbportal/stargazers","contributors_url":"https://api.github.com/repos/sajmoon/Jobbportal/contributors","subscribers_url":"https://api.github.com/repos/sajmoon/Jobbportal/subscribers","subscription_url":"https://api.github.com/repos/sajmoon/Jobbportal/subscription","commits_url":"https://api.github.com/repos/sajmoon/Jobbportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sajmoon/Jobbportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues/comments/{number}","contents_url":"https://api.github.com/repos/sajmoon/Jobbportal/contents/{+path}","compare_url":"https://api.github.com/repos/sajmoon/Jobbportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sajmoon/Jobbportal/merges","archive_url":"https://api.github.com/repos/sajmoon/Jobbportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sajmoon/Jobbportal/downloads","issues_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues{/number}","pulls_url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls{/number}","milestones_url":"https://api.github.com/repos/sajmoon/Jobbportal/milestones{/number}","notifications_url":"https://api.github.com/repos/sajmoon/Jobbportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sajmoon/Jobbportal/labels{/name}","releases_url":"https://api.github.com/repos/sajmoon/Jobbportal/releases{/id}","created_at":"2012-05-01T12:32:43Z","updated_at":"2015-01-04T20:44:43Z","pushed_at":"2015-01-04T21:48:09Z","git_url":"git://github.com/sajmoon/Jobbportal.git","ssh_url":"git@github.com:sajmoon/Jobbportal.git","clone_url":"https://github.com/sajmoon/Jobbportal.git","svn_url":"https://github.com/sajmoon/Jobbportal","homepage":"djobb.heroku.com","size":1081,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"sajmoon:master","ref":"master","sha":"3dc0c924184b8c98d7d9c8aa749a78faf07b3dee","user":{"login":"sajmoon","id":234977,"avatar_url":"https://avatars.githubusercontent.com/u/234977?v=3","gravatar_id":"","url":"https://api.github.com/users/sajmoon","html_url":"https://github.com/sajmoon","followers_url":"https://api.github.com/users/sajmoon/followers","following_url":"https://api.github.com/users/sajmoon/following{/other_user}","gists_url":"https://api.github.com/users/sajmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmoon/subscriptions","organizations_url":"https://api.github.com/users/sajmoon/orgs","repos_url":"https://api.github.com/users/sajmoon/repos","events_url":"https://api.github.com/users/sajmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sajmoon/received_events","type":"User","site_admin":false},"repo":{"id":4192094,"name":"Jobbportal","full_name":"sajmoon/Jobbportal","owner":{"login":"sajmoon","id":234977,"avatar_url":"https://avatars.githubusercontent.com/u/234977?v=3","gravatar_id":"","url":"https://api.github.com/users/sajmoon","html_url":"https://github.com/sajmoon","followers_url":"https://api.github.com/users/sajmoon/followers","following_url":"https://api.github.com/users/sajmoon/following{/other_user}","gists_url":"https://api.github.com/users/sajmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmoon/subscriptions","organizations_url":"https://api.github.com/users/sajmoon/orgs","repos_url":"https://api.github.com/users/sajmoon/repos","events_url":"https://api.github.com/users/sajmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sajmoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sajmoon/Jobbportal","description":"Datasektionens jobbportal","fork":false,"url":"https://api.github.com/repos/sajmoon/Jobbportal","forks_url":"https://api.github.com/repos/sajmoon/Jobbportal/forks","keys_url":"https://api.github.com/repos/sajmoon/Jobbportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sajmoon/Jobbportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sajmoon/Jobbportal/teams","hooks_url":"https://api.github.com/repos/sajmoon/Jobbportal/hooks","issue_events_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues/events{/number}","events_url":"https://api.github.com/repos/sajmoon/Jobbportal/events","assignees_url":"https://api.github.com/repos/sajmoon/Jobbportal/assignees{/user}","branches_url":"https://api.github.com/repos/sajmoon/Jobbportal/branches{/branch}","tags_url":"https://api.github.com/repos/sajmoon/Jobbportal/tags","blobs_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sajmoon/Jobbportal/statuses/{sha}","languages_url":"https://api.github.com/repos/sajmoon/Jobbportal/languages","stargazers_url":"https://api.github.com/repos/sajmoon/Jobbportal/stargazers","contributors_url":"https://api.github.com/repos/sajmoon/Jobbportal/contributors","subscribers_url":"https://api.github.com/repos/sajmoon/Jobbportal/subscribers","subscription_url":"https://api.github.com/repos/sajmoon/Jobbportal/subscription","commits_url":"https://api.github.com/repos/sajmoon/Jobbportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sajmoon/Jobbportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sajmoon/Jobbportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues/comments/{number}","contents_url":"https://api.github.com/repos/sajmoon/Jobbportal/contents/{+path}","compare_url":"https://api.github.com/repos/sajmoon/Jobbportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sajmoon/Jobbportal/merges","archive_url":"https://api.github.com/repos/sajmoon/Jobbportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sajmoon/Jobbportal/downloads","issues_url":"https://api.github.com/repos/sajmoon/Jobbportal/issues{/number}","pulls_url":"https://api.github.com/repos/sajmoon/Jobbportal/pulls{/number}","milestones_url":"https://api.github.com/repos/sajmoon/Jobbportal/milestones{/number}","notifications_url":"https://api.github.com/repos/sajmoon/Jobbportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sajmoon/Jobbportal/labels{/name}","releases_url":"https://api.github.com/repos/sajmoon/Jobbportal/releases{/id}","created_at":"2012-05-01T12:32:43Z","updated_at":"2015-01-04T20:44:43Z","pushed_at":"2015-01-04T21:48:09Z","git_url":"git://github.com/sajmoon/Jobbportal.git","ssh_url":"git@github.com:sajmoon/Jobbportal.git","clone_url":"https://github.com/sajmoon/Jobbportal.git","svn_url":"https://github.com/sajmoon/Jobbportal","homepage":"djobb.heroku.com","size":1081,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37"},"html":{"href":"https://github.com/sajmoon/Jobbportal/pull/37"},"issue":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/issues/37"},"comments":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/sajmoon/Jobbportal/statuses/c05d9095a66e67fe3019a2e053f6a4a8c690845e"}}}}