{"action":"created","comment":{"url":"https://api.github.com/repos/umts/stop-project/pulls/comments/214962586","pull_request_review_id":152125176,"id":214962586,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDk2MjU4Ng==","diff_hunk":"@@ -53,7 +54,8 @@ def manage\n   end\n \n   def name_search\n-    stop = BusStop.find_by name: params.require(:name)\n+    name = params[:name][/[^(]+/].strip","path":"app/controllers/bus_stops_controller.rb","position":13,"original_position":13,"commit_id":"bcd37f295133b2f662808d4f6d7d3f52a151c551","original_commit_id":"bcd37f295133b2f662808d4f6d7d3f52a151c551","user":{"login":"jforgue","id":26842354,"node_id":"MDQ6VXNlcjI2ODQyMzU0","avatar_url":"https://avatars3.githubusercontent.com/u/26842354?v=4","gravatar_id":"","url":"https://api.github.com/users/jforgue","html_url":"https://github.com/jforgue","followers_url":"https://api.github.com/users/jforgue/followers","following_url":"https://api.github.com/users/jforgue/following{/other_user}","gists_url":"https://api.github.com/users/jforgue/gists{/gist_id}","starred_url":"https://api.github.com/users/jforgue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jforgue/subscriptions","organizations_url":"https://api.github.com/users/jforgue/orgs","repos_url":"https://api.github.com/users/jforgue/repos","events_url":"https://api.github.com/users/jforgue/events{/privacy}","received_events_url":"https://api.github.com/users/jforgue/received_events","type":"User","site_admin":false},"body":"Should this also be a model method?","created_at":"2018-09-04T15:31:06Z","updated_at":"2018-09-04T15:31:07Z","html_url":"https://github.com/umts/stop-project/pull/128#discussion_r214962586","pull_request_url":"https://api.github.com/repos/umts/stop-project/pulls/128","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/umts/stop-project/pulls/comments/214962586"},"html":{"href":"https://github.com/umts/stop-project/pull/128#discussion_r214962586"},"pull_request":{"href":"https://api.github.com/repos/umts/stop-project/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/umts/stop-project/pulls/128","id":208395842,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4Mzk1ODQy","html_url":"https://github.com/umts/stop-project/pull/128","diff_url":"https://github.com/umts/stop-project/pull/128.diff","patch_url":"https://github.com/umts/stop-project/pull/128.patch","issue_url":"https://api.github.com/repos/umts/stop-project/issues/128","number":128,"state":"open","locked":false,"title":"Add Hastus id to bus stop name","user":{"login":"jforgue","id":26842354,"node_id":"MDQ6VXNlcjI2ODQyMzU0","avatar_url":"https://avatars3.githubusercontent.com/u/26842354?v=4","gravatar_id":"","url":"https://api.github.com/users/jforgue","html_url":"https://github.com/jforgue","followers_url":"https://api.github.com/users/jforgue/followers","following_url":"https://api.github.com/users/jforgue/following{/other_user}","gists_url":"https://api.github.com/users/jforgue/gists{/gist_id}","starred_url":"https://api.github.com/users/jforgue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jforgue/subscriptions","organizations_url":"https://api.github.com/users/jforgue/orgs","repos_url":"https://api.github.com/users/jforgue/repos","events_url":"https://api.github.com/users/jforgue/events{/privacy}","received_events_url":"https://api.github.com/users/jforgue/received_events","type":"User","site_admin":false},"body":"Closes #122 ","created_at":"2018-08-14T20:09:49Z","updated_at":"2018-09-04T15:31:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de4964ef3a783ddef9ad34f5f47e67b8936c7134","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sherson","id":409008,"node_id":"MDQ6VXNlcjQwOTAwOA==","avatar_url":"https://avatars3.githubusercontent.com/u/409008?v=4","gravatar_id":"","url":"https://api.github.com/users/sherson","html_url":"https://github.com/sherson","followers_url":"https://api.github.com/users/sherson/followers","following_url":"https://api.github.com/users/sherson/following{/other_user}","gists_url":"https://api.github.com/users/sherson/gists{/gist_id}","starred_url":"https://api.github.com/users/sherson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherson/subscriptions","organizations_url":"https://api.github.com/users/sherson/orgs","repos_url":"https://api.github.com/users/sherson/repos","events_url":"https://api.github.com/users/sherson/events{/privacy}","received_events_url":"https://api.github.com/users/sherson/received_events","type":"User","site_admin":false},{"login":"mboneil10","id":19267771,"node_id":"MDQ6VXNlcjE5MjY3Nzcx","avatar_url":"https://avatars2.githubusercontent.com/u/19267771?v=4","gravatar_id":"","url":"https://api.github.com/users/mboneil10","html_url":"https://github.com/mboneil10","followers_url":"https://api.github.com/users/mboneil10/followers","following_url":"https://api.github.com/users/mboneil10/following{/other_user}","gists_url":"https://api.github.com/users/mboneil10/gists{/gist_id}","starred_url":"https://api.github.com/users/mboneil10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboneil10/subscriptions","organizations_url":"https://api.github.com/users/mboneil10/orgs","repos_url":"https://api.github.com/users/mboneil10/repos","events_url":"https://api.github.com/users/mboneil10/events{/privacy}","received_events_url":"https://api.github.com/users/mboneil10/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/umts/stop-project/pulls/128/commits","review_comments_url":"https://api.github.com/repos/umts/stop-project/pulls/128/comments","review_comment_url":"https://api.github.com/repos/umts/stop-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umts/stop-project/issues/128/comments","statuses_url":"https://api.github.com/repos/umts/stop-project/statuses/bcd37f295133b2f662808d4f6d7d3f52a151c551","head":{"label":"umts:add_hastus_id_to_name","ref":"add_hastus_id_to_name","sha":"bcd37f295133b2f662808d4f6d7d3f52a151c551","user":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":59857861,"node_id":"MDEwOlJlcG9zaXRvcnk1OTg1Nzg2MQ==","name":"stop-project","full_name":"umts/stop-project","owner":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/stop-project","description":"Rails app for tracking the Summer 2016 installation of new bus stop signs across the PVTA service area.","fork":false,"url":"https://api.github.com/repos/umts/stop-project","forks_url":"https://api.github.com/repos/umts/stop-project/forks","keys_url":"https://api.github.com/repos/umts/stop-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/stop-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/stop-project/teams","hooks_url":"https://api.github.com/repos/umts/stop-project/hooks","issue_events_url":"https://api.github.com/repos/umts/stop-project/issues/events{/number}","events_url":"https://api.github.com/repos/umts/stop-project/events","assignees_url":"https://api.github.com/repos/umts/stop-project/assignees{/user}","branches_url":"https://api.github.com/repos/umts/stop-project/branches{/branch}","tags_url":"https://api.github.com/repos/umts/stop-project/tags","blobs_url":"https://api.github.com/repos/umts/stop-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/stop-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/stop-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/stop-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/stop-project/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/stop-project/languages","stargazers_url":"https://api.github.com/repos/umts/stop-project/stargazers","contributors_url":"https://api.github.com/repos/umts/stop-project/contributors","subscribers_url":"https://api.github.com/repos/umts/stop-project/subscribers","subscription_url":"https://api.github.com/repos/umts/stop-project/subscription","commits_url":"https://api.github.com/repos/umts/stop-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/stop-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/stop-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/stop-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/stop-project/contents/{+path}","compare_url":"https://api.github.com/repos/umts/stop-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/stop-project/merges","archive_url":"https://api.github.com/repos/umts/stop-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/stop-project/downloads","issues_url":"https://api.github.com/repos/umts/stop-project/issues{/number}","pulls_url":"https://api.github.com/repos/umts/stop-project/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/stop-project/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/stop-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/stop-project/labels{/name}","releases_url":"https://api.github.com/repos/umts/stop-project/releases{/id}","deployments_url":"https://api.github.com/repos/umts/stop-project/deployments","created_at":"2016-05-27T19:16:53Z","updated_at":"2018-08-31T15:43:05Z","pushed_at":"2018-09-04T15:21:29Z","git_url":"git://github.com/umts/stop-project.git","ssh_url":"git@github.com:umts/stop-project.git","clone_url":"https://github.com/umts/stop-project.git","svn_url":"https://github.com/umts/stop-project","homepage":"","size":2807,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":15,"watchers":1,"default_branch":"master"}},"base":{"label":"umts:master","ref":"master","sha":"b83e5e2f2a8cdb39b5eeed28c0094e76c08090a7","user":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":59857861,"node_id":"MDEwOlJlcG9zaXRvcnk1OTg1Nzg2MQ==","name":"stop-project","full_name":"umts/stop-project","owner":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/stop-project","description":"Rails app for tracking the Summer 2016 installation of new bus stop signs across the PVTA service area.","fork":false,"url":"https://api.github.com/repos/umts/stop-project","forks_url":"https://api.github.com/repos/umts/stop-project/forks","keys_url":"https://api.github.com/repos/umts/stop-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/stop-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/stop-project/teams","hooks_url":"https://api.github.com/repos/umts/stop-project/hooks","issue_events_url":"https://api.github.com/repos/umts/stop-project/issues/events{/number}","events_url":"https://api.github.com/repos/umts/stop-project/events","assignees_url":"https://api.github.com/repos/umts/stop-project/assignees{/user}","branches_url":"https://api.github.com/repos/umts/stop-project/branches{/branch}","tags_url":"https://api.github.com/repos/umts/stop-project/tags","blobs_url":"https://api.github.com/repos/umts/stop-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/stop-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/stop-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/stop-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/stop-project/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/stop-project/languages","stargazers_url":"https://api.github.com/repos/umts/stop-project/stargazers","contributors_url":"https://api.github.com/repos/umts/stop-project/contributors","subscribers_url":"https://api.github.com/repos/umts/stop-project/subscribers","subscription_url":"https://api.github.com/repos/umts/stop-project/subscription","commits_url":"https://api.github.com/repos/umts/stop-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/stop-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/stop-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/stop-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/stop-project/contents/{+path}","compare_url":"https://api.github.com/repos/umts/stop-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/stop-project/merges","archive_url":"https://api.github.com/repos/umts/stop-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/stop-project/downloads","issues_url":"https://api.github.com/repos/umts/stop-project/issues{/number}","pulls_url":"https://api.github.com/repos/umts/stop-project/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/stop-project/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/stop-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/stop-project/labels{/name}","releases_url":"https://api.github.com/repos/umts/stop-project/releases{/id}","deployments_url":"https://api.github.com/repos/umts/stop-project/deployments","created_at":"2016-05-27T19:16:53Z","updated_at":"2018-08-31T15:43:05Z","pushed_at":"2018-09-04T15:21:29Z","git_url":"git://github.com/umts/stop-project.git","ssh_url":"git@github.com:umts/stop-project.git","clone_url":"https://github.com/umts/stop-project.git","svn_url":"https://github.com/umts/stop-project","homepage":"","size":2807,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":15,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umts/stop-project/pulls/128"},"html":{"href":"https://github.com/umts/stop-project/pull/128"},"issue":{"href":"https://api.github.com/repos/umts/stop-project/issues/128"},"comments":{"href":"https://api.github.com/repos/umts/stop-project/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/umts/stop-project/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/umts/stop-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umts/stop-project/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/umts/stop-project/statuses/bcd37f295133b2f662808d4f6d7d3f52a151c551"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jforgue"}}