payload: {"action":"opened","number":2963,"pull_request":{"url":"https://api.github.com/repos/EBWiki/EBWiki/pulls/2963","id":272172731,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcyMTcyNzMx","html_url":"https://github.com/EBWiki/EBWiki/pull/2963","diff_url":"https://github.com/EBWiki/EBWiki/pull/2963.diff","patch_url":"https://github.com/EBWiki/EBWiki/pull/2963.patch","issue_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/2963","number":2963,"state":"open","locked":false,"title":"Add jurisdiction enum","user":{"login":"rlgreen91","id":1738068,"node_id":"MDQ6VXNlcjE3MzgwNjg=","avatar_url":"https://avatars2.githubusercontent.com/u/1738068?v=4","gravatar_id":"","url":"https://api.github.com/users/rlgreen91","html_url":"https://github.com/rlgreen91","followers_url":"https://api.github.com/users/rlgreen91/followers","following_url":"https://api.github.com/users/rlgreen91/following{/other_user}","gists_url":"https://api.github.com/users/rlgreen91/gists{/gist_id}","starred_url":"https://api.github.com/users/rlgreen91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlgreen91/subscriptions","organizations_url":"https://api.github.com/users/rlgreen91/orgs","repos_url":"https://api.github.com/users/rlgreen91/repos","events_url":"https://api.github.com/users/rlgreen91/events{/privacy}","received_events_url":"https://api.github.com/users/rlgreen91/received_events","type":"User","site_admin":false},"body":"In your PR did you:\r\n\r\n  - [X] Include a description of the changes?\r\n  - [X] Mention the issue the PR addresses?\r\n  - [X] Include screenshots of any changes to the UI?\r\n  - [ ] Isolate any changes to gems (meaning that any new, updated, or removed gems and resulting code changes should be in their own PR)?\r\n  - [X] Add and/or update specs for your code?\r\n\r\n-------------------------------------------------------------------------------------------------\r\nAs noted in Slack, this PR ended up being a lot bigger than expected due to some accidental data erasure.  What this PR ultimately does is complete adding jurisdiction via PostGres and ActiveRecord enum functionality and removes the old jurisdiction enum created using EnumeratedType.  It also includes some refactoring for the form for agencies and removing unused code elsewhere.\r\n","created_at":"2019-04-20T19:36:21Z","updated_at":"2019-04-20T19:36:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EBWiki/EBWiki/pulls/2963/commits","review_comments_url":"https://api.github.com/repos/EBWiki/EBWiki/pulls/2963/comments","review_comment_url":"https://api.github.com/repos/EBWiki/EBWiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/2963/comments","statuses_url":"https://api.github.com/repos/EBWiki/EBWiki/statuses/18d667f9312d74a211955ae78ee8d056fc7f4a7b","head":{"label":"EBWiki:add_jurisdiction_enum","ref":"add_jurisdiction_enum","sha":"18d667f9312d74a211955ae78ee8d056fc7f4a7b","user":{"login":"EBWiki","id":12775730,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzc1NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/12775730?v=4","gravatar_id":"","url":"https://api.github.com/users/EBWiki","html_url":"https://github.com/EBWiki","followers_url":"https://api.github.com/users/EBWiki/followers","following_url":"https://api.github.com/users/EBWiki/following{/other_user}","gists_url":"https://api.github.com/users/EBWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/EBWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBWiki/subscriptions","organizations_url":"https://api.github.com/users/EBWiki/orgs","repos_url":"https://api.github.com/users/EBWiki/repos","events_url":"https://api.github.com/users/EBWiki/events{/privacy}","received_events_url":"https://api.github.com/users/EBWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":36671687,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY3MTY4Nw==","name":"EBWiki","full_name":"EBWiki/EBWiki","private":false,"owner":{"login":"EBWiki","id":12775730,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzc1NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/12775730?v=4","gravatar_id":"","url":"https://api.github.com/users/EBWiki","html_url":"https://github.com/EBWiki","followers_url":"https://api.github.com/users/EBWiki/followers","following_url":"https://api.github.com/users/EBWiki/following{/other_user}","gists_url":"https://api.github.com/users/EBWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/EBWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBWiki/subscriptions","organizations_url":"https://api.github.com/users/EBWiki/orgs","repos_url":"https://api.github.com/users/EBWiki/repos","events_url":"https://api.github.com/users/EBWiki/events{/privacy}","received_events_url":"https://api.github.com/users/EBWiki/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/EBWiki/EBWiki","description":"repository of police abuse cases against people of color","fork":false,"url":"https://api.github.com/repos/EBWiki/EBWiki","forks_url":"https://api.github.com/repos/EBWiki/EBWiki/forks","keys_url":"https://api.github.com/repos/EBWiki/EBWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EBWiki/EBWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EBWiki/EBWiki/teams","hooks_url":"https://api.github.com/repos/EBWiki/EBWiki/hooks","issue_events_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/events{/number}","events_url":"https://api.github.com/repos/EBWiki/EBWiki/events","assignees_url":"https://api.github.com/repos/EBWiki/EBWiki/assignees{/user}","branches_url":"https://api.github.com/repos/EBWiki/EBWiki/branches{/branch}","tags_url":"https://api.github.com/repos/EBWiki/EBWiki/tags","blobs_url":"https://api.github.com/repos/EBWiki/EBWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EBWiki/EBWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EBWiki/EBWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/EBWiki/EBWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EBWiki/EBWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/EBWiki/EBWiki/languages","stargazers_url":"https://api.github.com/repos/EBWiki/EBWiki/stargazers","contributors_url":"https://api.github.com/repos/EBWiki/EBWiki/contributors","subscribers_url":"https://api.github.com/repos/EBWiki/EBWiki/subscribers","subscription_url":"https://api.github.com/repos/EBWiki/EBWiki/subscription","commits_url":"https://api.github.com/repos/EBWiki/EBWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/EBWiki/EBWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/EBWiki/EBWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/EBWiki/EBWiki/contents/{+path}","compare_url":"https://api.github.com/repos/EBWiki/EBWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EBWiki/EBWiki/merges","archive_url":"https://api.github.com/repos/EBWiki/EBWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EBWiki/EBWiki/downloads","issues_url":"https://api.github.com/repos/EBWiki/EBWiki/issues{/number}","pulls_url":"https://api.github.com/repos/EBWiki/EBWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/EBWiki/EBWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/EBWiki/EBWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EBWiki/EBWiki/labels{/name}","releases_url":"https://api.github.com/repos/EBWiki/EBWiki/releases{/id}","deployments_url":"https://api.github.com/repos/EBWiki/EBWiki/deployments","created_at":"2015-06-01T15:56:18Z","updated_at":"2019-04-17T02:30:42Z","pushed_at":"2019-04-20T19:32:37Z","git_url":"git://github.com/EBWiki/EBWiki.git","ssh_url":"git@github.com:EBWiki/EBWiki.git","clone_url":"https://github.com/EBWiki/EBWiki.git","svn_url":"https://github.com/EBWiki/EBWiki","homepage":"https://ebwiki.org","size":266250,"stargazers_count":27,"watchers_count":27,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":187,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":57,"open_issues":187,"watchers":27,"default_branch":"master"}},"base":{"label":"EBWiki:master","ref":"master","sha":"5cb3070602c481d1a79014995e5ea74e2fa46836","user":{"login":"EBWiki","id":12775730,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzc1NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/12775730?v=4","gravatar_id":"","url":"https://api.github.com/users/EBWiki","html_url":"https://github.com/EBWiki","followers_url":"https://api.github.com/users/EBWiki/followers","following_url":"https://api.github.com/users/EBWiki/following{/other_user}","gists_url":"https://api.github.com/users/EBWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/EBWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBWiki/subscriptions","organizations_url":"https://api.github.com/users/EBWiki/orgs","repos_url":"https://api.github.com/users/EBWiki/repos","events_url":"https://api.github.com/users/EBWiki/events{/privacy}","received_events_url":"https://api.github.com/users/EBWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":36671687,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY3MTY4Nw==","name":"EBWiki","full_name":"EBWiki/EBWiki","private":false,"owner":{"login":"EBWiki","id":12775730,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzc1NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/12775730?v=4","gravatar_id":"","url":"https://api.github.com/users/EBWiki","html_url":"https://github.com/EBWiki","followers_url":"https://api.github.com/users/EBWiki/followers","following_url":"https://api.github.com/users/EBWiki/following{/other_user}","gists_url":"https://api.github.com/users/EBWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/EBWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBWiki/subscriptions","organizations_url":"https://api.github.com/users/EBWiki/orgs","repos_url":"https://api.github.com/users/EBWiki/repos","events_url":"https://api.github.com/users/EBWiki/events{/privacy}","received_events_url":"https://api.github.com/users/EBWiki/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/EBWiki/EBWiki","description":"repository of police abuse cases against people of color","fork":false,"url":"https://api.github.com/repos/EBWiki/EBWiki","forks_url":"https://api.github.com/repos/EBWiki/EBWiki/forks","keys_url":"https://api.github.com/repos/EBWiki/EBWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EBWiki/EBWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EBWiki/EBWiki/teams","hooks_url":"https://api.github.com/repos/EBWiki/EBWiki/hooks","issue_events_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/events{/number}","events_url":"https://api.github.com/repos/EBWiki/EBWiki/events","assignees_url":"https://api.github.com/repos/EBWiki/EBWiki/assignees{/user}","branches_url":"https://api.github.com/repos/EBWiki/EBWiki/branches{/branch}","tags_url":"https://api.github.com/repos/EBWiki/EBWiki/tags","blobs_url":"https://api.github.com/repos/EBWiki/EBWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EBWiki/EBWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EBWiki/EBWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/EBWiki/EBWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EBWiki/EBWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/EBWiki/EBWiki/languages","stargazers_url":"https://api.github.com/repos/EBWiki/EBWiki/stargazers","contributors_url":"https://api.github.com/repos/EBWiki/EBWiki/contributors","subscribers_url":"https://api.github.com/repos/EBWiki/EBWiki/subscribers","subscription_url":"https://api.github.com/repos/EBWiki/EBWiki/subscription","commits_url":"https://api.github.com/repos/EBWiki/EBWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/EBWiki/EBWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/EBWiki/EBWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/EBWiki/EBWiki/contents/{+path}","compare_url":"https://api.github.com/repos/EBWiki/EBWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EBWiki/EBWiki/merges","archive_url":"https://api.github.com/repos/EBWiki/EBWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EBWiki/EBWiki/downloads","issues_url":"https://api.github.com/repos/EBWiki/EBWiki/issues{/number}","pulls_url":"https://api.github.com/repos/EBWiki/EBWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/EBWiki/EBWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/EBWiki/EBWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EBWiki/EBWiki/labels{/name}","releases_url":"https://api.github.com/repos/EBWiki/EBWiki/releases{/id}","deployments_url":"https://api.github.com/repos/EBWiki/EBWiki/deployments","created_at":"2015-06-01T15:56:18Z","updated_at":"2019-04-17T02:30:42Z","pushed_at":"2019-04-20T19:32:37Z","git_url":"git://github.com/EBWiki/EBWiki.git","ssh_url":"git@github.com:EBWiki/EBWiki.git","clone_url":"https://github.com/EBWiki/EBWiki.git","svn_url":"https://github.com/EBWiki/EBWiki","homepage":"https://ebwiki.org","size":266250,"stargazers_count":27,"watchers_count":27,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":187,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":57,"open_issues":187,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EBWiki/EBWiki/pulls/2963"},"html":{"href":"https://github.com/EBWiki/EBWiki/pull/2963"},"issue":{"href":"https://api.github.com/repos/EBWiki/EBWiki/issues/2963"},"comments":{"href":"https://api.github.com/repos/EBWiki/EBWiki/issues/2963/comments"},"review_comments":{"href":"https://api.github.com/repos/EBWiki/EBWiki/pulls/2963/comments"},"review_comment":{"href":"https://api.github.com/repos/EBWiki/EBWiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EBWiki/EBWiki/pulls/2963/commits"},"statuses":{"href":"https://api.github.com/repos/EBWiki/EBWiki/statuses/18d667f9312d74a211955ae78ee8d056fc7f4a7b"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":40,"deletions":57,"changed_files":11}}
other: {"actor":{"display_login":"rlgreen91"}}