{"action":"created","comment":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments/117915276","pull_request_review_id":39658998,"id":117915276,"diff_hunk":"@@ -7,6 +7,9 @@ class Job < ActiveRecord::Base\n   belongs_to :author, foreign_key: :user_id, class_name: \"User\"\n \n   scope :published, -> { where(state: :published).order(created_at: :desc) }\n+  scope :search, (lambda do |query|","path":"app/models/job.rb","position":4,"original_position":4,"commit_id":"ac2901fd60048628c6c5b9f4263f565114d94733","original_commit_id":"ac2901fd60048628c6c5b9f4263f565114d94733","user":{"login":"bellef","id":5313833,"avatar_url":"https://avatars0.githubusercontent.com/u/5313833?v=3","gravatar_id":"","url":"https://api.github.com/users/bellef","html_url":"https://github.com/bellef","followers_url":"https://api.github.com/users/bellef/followers","following_url":"https://api.github.com/users/bellef/following{/other_user}","gists_url":"https://api.github.com/users/bellef/gists{/gist_id}","starred_url":"https://api.github.com/users/bellef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellef/subscriptions","organizations_url":"https://api.github.com/users/bellef/orgs","repos_url":"https://api.github.com/users/bellef/repos","events_url":"https://api.github.com/users/bellef/events{/privacy}","received_events_url":"https://api.github.com/users/bellef/received_events","type":"User","site_admin":false},"body":"Thank you, I definitely should read more doc!","created_at":"2017-05-23T07:18:10Z","updated_at":"2017-05-23T07:18:11Z","html_url":"https://github.com/montrealrb/Montreal.rb/pull/268#discussion_r117915276","pull_request_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments/117915276"},"html":{"href":"https://github.com/montrealrb/Montreal.rb/pull/268#discussion_r117915276"},"pull_request":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268","id":120457422,"html_url":"https://github.com/montrealrb/Montreal.rb/pull/268","diff_url":"https://github.com/montrealrb/Montreal.rb/pull/268.diff","patch_url":"https://github.com/montrealrb/Montreal.rb/pull/268.patch","issue_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/268","number":268,"state":"open","locked":false,"title":"Feature/searchable jobs","user":{"login":"bellef","id":5313833,"avatar_url":"https://avatars0.githubusercontent.com/u/5313833?v=3","gravatar_id":"","url":"https://api.github.com/users/bellef","html_url":"https://github.com/bellef","followers_url":"https://api.github.com/users/bellef/followers","following_url":"https://api.github.com/users/bellef/following{/other_user}","gists_url":"https://api.github.com/users/bellef/gists{/gist_id}","starred_url":"https://api.github.com/users/bellef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellef/subscriptions","organizations_url":"https://api.github.com/users/bellef/orgs","repos_url":"https://api.github.com/users/bellef/repos","events_url":"https://api.github.com/users/bellef/events{/privacy}","received_events_url":"https://api.github.com/users/bellef/received_events","type":"User","site_admin":false},"body":"Hey, it's my first pull request on this project (and my first contribution to an open source project).\r\nI though it would be great if we could search through jobs in the index page.\r\n\r\nIt looks like that :\r\n![selection_140](https://cloud.githubusercontent.com/assets/5313833/26027942/5d64c96e-3817-11e7-9261-dd3c8eac9da1.png)\r\n","created_at":"2017-05-13T18:04:40Z","updated_at":"2017-05-23T07:18:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5191403039f0875e96383b41bcf3ba3fe44e556","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268/commits","review_comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268/comments","review_comment_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/268/comments","statuses_url":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/ac2901fd60048628c6c5b9f4263f565114d94733","head":{"label":"bellef:feature/searchable_jobs","ref":"feature/searchable_jobs","sha":"ac2901fd60048628c6c5b9f4263f565114d94733","user":{"login":"bellef","id":5313833,"avatar_url":"https://avatars0.githubusercontent.com/u/5313833?v=3","gravatar_id":"","url":"https://api.github.com/users/bellef","html_url":"https://github.com/bellef","followers_url":"https://api.github.com/users/bellef/followers","following_url":"https://api.github.com/users/bellef/following{/other_user}","gists_url":"https://api.github.com/users/bellef/gists{/gist_id}","starred_url":"https://api.github.com/users/bellef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellef/subscriptions","organizations_url":"https://api.github.com/users/bellef/orgs","repos_url":"https://api.github.com/users/bellef/repos","events_url":"https://api.github.com/users/bellef/events{/privacy}","received_events_url":"https://api.github.com/users/bellef/received_events","type":"User","site_admin":false},"repo":{"id":91086419,"name":"Montreal.rb","full_name":"bellef/Montreal.rb","owner":{"login":"bellef","id":5313833,"avatar_url":"https://avatars0.githubusercontent.com/u/5313833?v=3","gravatar_id":"","url":"https://api.github.com/users/bellef","html_url":"https://github.com/bellef","followers_url":"https://api.github.com/users/bellef/followers","following_url":"https://api.github.com/users/bellef/following{/other_user}","gists_url":"https://api.github.com/users/bellef/gists{/gist_id}","starred_url":"https://api.github.com/users/bellef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellef/subscriptions","organizations_url":"https://api.github.com/users/bellef/orgs","repos_url":"https://api.github.com/users/bellef/repos","events_url":"https://api.github.com/users/bellef/events{/privacy}","received_events_url":"https://api.github.com/users/bellef/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bellef/Montreal.rb","description":"The new Montreal.rb website","fork":true,"url":"https://api.github.com/repos/bellef/Montreal.rb","forks_url":"https://api.github.com/repos/bellef/Montreal.rb/forks","keys_url":"https://api.github.com/repos/bellef/Montreal.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bellef/Montreal.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bellef/Montreal.rb/teams","hooks_url":"https://api.github.com/repos/bellef/Montreal.rb/hooks","issue_events_url":"https://api.github.com/repos/bellef/Montreal.rb/issues/events{/number}","events_url":"https://api.github.com/repos/bellef/Montreal.rb/events","assignees_url":"https://api.github.com/repos/bellef/Montreal.rb/assignees{/user}","branches_url":"https://api.github.com/repos/bellef/Montreal.rb/branches{/branch}","tags_url":"https://api.github.com/repos/bellef/Montreal.rb/tags","blobs_url":"https://api.github.com/repos/bellef/Montreal.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bellef/Montreal.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bellef/Montreal.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/bellef/Montreal.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bellef/Montreal.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/bellef/Montreal.rb/languages","stargazers_url":"https://api.github.com/repos/bellef/Montreal.rb/stargazers","contributors_url":"https://api.github.com/repos/bellef/Montreal.rb/contributors","subscribers_url":"https://api.github.com/repos/bellef/Montreal.rb/subscribers","subscription_url":"https://api.github.com/repos/bellef/Montreal.rb/subscription","commits_url":"https://api.github.com/repos/bellef/Montreal.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/bellef/Montreal.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/bellef/Montreal.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/bellef/Montreal.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/bellef/Montreal.rb/contents/{+path}","compare_url":"https://api.github.com/repos/bellef/Montreal.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bellef/Montreal.rb/merges","archive_url":"https://api.github.com/repos/bellef/Montreal.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bellef/Montreal.rb/downloads","issues_url":"https://api.github.com/repos/bellef/Montreal.rb/issues{/number}","pulls_url":"https://api.github.com/repos/bellef/Montreal.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/bellef/Montreal.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/bellef/Montreal.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bellef/Montreal.rb/labels{/name}","releases_url":"https://api.github.com/repos/bellef/Montreal.rb/releases{/id}","deployments_url":"https://api.github.com/repos/bellef/Montreal.rb/deployments","created_at":"2017-05-12T11:51:30Z","updated_at":"2017-05-12T11:51:32Z","pushed_at":"2017-05-22T11:41:48Z","git_url":"git://github.com/bellef/Montreal.rb.git","ssh_url":"git@github.com:bellef/Montreal.rb.git","clone_url":"https://github.com/bellef/Montreal.rb.git","svn_url":"https://github.com/bellef/Montreal.rb","homepage":"http://montrealrb.com","size":5050,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"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":"montrealrb:master","ref":"master","sha":"b6b70a6f9b938c52b95f40a14a63b2f2c2b808e5","user":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars2.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"repo":{"id":10808048,"name":"Montreal.rb","full_name":"montrealrb/Montreal.rb","owner":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars2.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/montrealrb/Montreal.rb","description":"The new Montreal.rb website","fork":false,"url":"https://api.github.com/repos/montrealrb/Montreal.rb","forks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/forks","keys_url":"https://api.github.com/repos/montrealrb/Montreal.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/montrealrb/Montreal.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/montrealrb/Montreal.rb/teams","hooks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/hooks","issue_events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/events{/number}","events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/events","assignees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/assignees{/user}","branches_url":"https://api.github.com/repos/montrealrb/Montreal.rb/branches{/branch}","tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/tags","blobs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/montrealrb/Montreal.rb/languages","stargazers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/stargazers","contributors_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contributors","subscribers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscribers","subscription_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscription","commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contents/{+path}","compare_url":"https://api.github.com/repos/montrealrb/Montreal.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/montrealrb/Montreal.rb/merges","archive_url":"https://api.github.com/repos/montrealrb/Montreal.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/montrealrb/Montreal.rb/downloads","issues_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues{/number}","pulls_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/montrealrb/Montreal.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/montrealrb/Montreal.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/montrealrb/Montreal.rb/labels{/name}","releases_url":"https://api.github.com/repos/montrealrb/Montreal.rb/releases{/id}","deployments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/deployments","created_at":"2013-06-19T23:11:36Z","updated_at":"2017-04-06T08:00:30Z","pushed_at":"2017-05-22T11:41:50Z","git_url":"git://github.com/montrealrb/Montreal.rb.git","ssh_url":"git@github.com:montrealrb/Montreal.rb.git","clone_url":"https://github.com/montrealrb/Montreal.rb.git","svn_url":"https://github.com/montrealrb/Montreal.rb","homepage":"http://montrealrb.com","size":5069,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":33,"forks":32,"open_issues":33,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268"},"html":{"href":"https://github.com/montrealrb/Montreal.rb/pull/268"},"issue":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/268"},"comments":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/ac2901fd60048628c6c5b9f4263f565114d94733"}}}}
{"actor":{"display_login":"bellef"}}