{"action":"closed","number":91,"pull_request":{"url":"https://api.github.com/repos/beyond-z/career-mgr/pulls/91","id":225761137,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NzYxMTM3","html_url":"https://github.com/beyond-z/career-mgr/pull/91","diff_url":"https://github.com/beyond-z/career-mgr/pull/91.diff","patch_url":"https://github.com/beyond-z/career-mgr/pull/91.patch","issue_url":"https://api.github.com/repos/beyond-z/career-mgr/issues/91","number":91,"state":"closed","locked":false,"title":"Fix Broken Opportunity Views","user":{"login":"bellmyer","id":12893,"node_id":"MDQ6VXNlcjEyODkz","avatar_url":"https://avatars3.githubusercontent.com/u/12893?v=4","gravatar_id":"","url":"https://api.github.com/users/bellmyer","html_url":"https://github.com/bellmyer","followers_url":"https://api.github.com/users/bellmyer/followers","following_url":"https://api.github.com/users/bellmyer/following{/other_user}","gists_url":"https://api.github.com/users/bellmyer/gists{/gist_id}","starred_url":"https://api.github.com/users/bellmyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellmyer/subscriptions","organizations_url":"https://api.github.com/users/bellmyer/orgs","repos_url":"https://api.github.com/users/bellmyer/repos","events_url":"https://api.github.com/users/bellmyer/events{/privacy}","received_events_url":"https://api.github.com/users/bellmyer/received_events","type":"User","site_admin":false},"body":"This was caused by missing fellow records.\r\n\r\n* deleted orphaned fellow_opp association records in the prod db\r\n* added soft-delete to fellows using paranoia gem\r\n* updated fellow and opp models so deleting the record deletes the fellow_opportunity association record as well.\r\n\r\n![20181025-specs-broken-opps](https://user-images.githubusercontent.com/12893/47503866-b286ab00-d830-11e8-9d10-7975b30fd77d.png)\r\n","created_at":"2018-10-25T13:33:57Z","updated_at":"2018-10-25T13:36:10Z","closed_at":"2018-10-25T13:36:10Z","merged_at":"2018-10-25T13:36:10Z","merge_commit_sha":"083157c30cec79831a652d408c886bf151987297","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/beyond-z/career-mgr/pulls/91/commits","review_comments_url":"https://api.github.com/repos/beyond-z/career-mgr/pulls/91/comments","review_comment_url":"https://api.github.com/repos/beyond-z/career-mgr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/beyond-z/career-mgr/issues/91/comments","statuses_url":"https://api.github.com/repos/beyond-z/career-mgr/statuses/abff51b503c0e99b471d1aab1c19505a832e189b","head":{"label":"bellmyer:soft-delete-fellows-and-opp-associations","ref":"soft-delete-fellows-and-opp-associations","sha":"abff51b503c0e99b471d1aab1c19505a832e189b","user":{"login":"bellmyer","id":12893,"node_id":"MDQ6VXNlcjEyODkz","avatar_url":"https://avatars3.githubusercontent.com/u/12893?v=4","gravatar_id":"","url":"https://api.github.com/users/bellmyer","html_url":"https://github.com/bellmyer","followers_url":"https://api.github.com/users/bellmyer/followers","following_url":"https://api.github.com/users/bellmyer/following{/other_user}","gists_url":"https://api.github.com/users/bellmyer/gists{/gist_id}","starred_url":"https://api.github.com/users/bellmyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellmyer/subscriptions","organizations_url":"https://api.github.com/users/bellmyer/orgs","repos_url":"https://api.github.com/users/bellmyer/repos","events_url":"https://api.github.com/users/bellmyer/events{/privacy}","received_events_url":"https://api.github.com/users/bellmyer/received_events","type":"User","site_admin":false},"repo":{"id":134329524,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQzMjk1MjQ=","name":"career-mgr","full_name":"bellmyer/career-mgr","private":false,"owner":{"login":"bellmyer","id":12893,"node_id":"MDQ6VXNlcjEyODkz","avatar_url":"https://avatars3.githubusercontent.com/u/12893?v=4","gravatar_id":"","url":"https://api.github.com/users/bellmyer","html_url":"https://github.com/bellmyer","followers_url":"https://api.github.com/users/bellmyer/followers","following_url":"https://api.github.com/users/bellmyer/following{/other_user}","gists_url":"https://api.github.com/users/bellmyer/gists{/gist_id}","starred_url":"https://api.github.com/users/bellmyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellmyer/subscriptions","organizations_url":"https://api.github.com/users/bellmyer/orgs","repos_url":"https://api.github.com/users/bellmyer/repos","events_url":"https://api.github.com/users/bellmyer/events{/privacy}","received_events_url":"https://api.github.com/users/bellmyer/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bellmyer/career-mgr","description":"A set of tools and features to help Braven Fellows and Alumni manager their career, especially in terms of getting their first job out of college","fork":true,"url":"https://api.github.com/repos/bellmyer/career-mgr","forks_url":"https://api.github.com/repos/bellmyer/career-mgr/forks","keys_url":"https://api.github.com/repos/bellmyer/career-mgr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bellmyer/career-mgr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bellmyer/career-mgr/teams","hooks_url":"https://api.github.com/repos/bellmyer/career-mgr/hooks","issue_events_url":"https://api.github.com/repos/bellmyer/career-mgr/issues/events{/number}","events_url":"https://api.github.com/repos/bellmyer/career-mgr/events","assignees_url":"https://api.github.com/repos/bellmyer/career-mgr/assignees{/user}","branches_url":"https://api.github.com/repos/bellmyer/career-mgr/branches{/branch}","tags_url":"https://api.github.com/repos/bellmyer/career-mgr/tags","blobs_url":"https://api.github.com/repos/bellmyer/career-mgr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bellmyer/career-mgr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bellmyer/career-mgr/git/refs{/sha}","trees_url":"https://api.github.com/repos/bellmyer/career-mgr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bellmyer/career-mgr/statuses/{sha}","languages_url":"https://api.github.com/repos/bellmyer/career-mgr/languages","stargazers_url":"https://api.github.com/repos/bellmyer/career-mgr/stargazers","contributors_url":"https://api.github.com/repos/bellmyer/career-mgr/contributors","subscribers_url":"https://api.github.com/repos/bellmyer/career-mgr/subscribers","subscription_url":"https://api.github.com/repos/bellmyer/career-mgr/subscription","commits_url":"https://api.github.com/repos/bellmyer/career-mgr/commits{/sha}","git_commits_url":"https://api.github.com/repos/bellmyer/career-mgr/git/commits{/sha}","comments_url":"https://api.github.com/repos/bellmyer/career-mgr/comments{/number}","issue_comment_url":"https://api.github.com/repos/bellmyer/career-mgr/issues/comments{/number}","contents_url":"https://api.github.com/repos/bellmyer/career-mgr/contents/{+path}","compare_url":"https://api.github.com/repos/bellmyer/career-mgr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bellmyer/career-mgr/merges","archive_url":"https://api.github.com/repos/bellmyer/career-mgr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bellmyer/career-mgr/downloads","issues_url":"https://api.github.com/repos/bellmyer/career-mgr/issues{/number}","pulls_url":"https://api.github.com/repos/bellmyer/career-mgr/pulls{/number}","milestones_url":"https://api.github.com/repos/bellmyer/career-mgr/milestones{/number}","notifications_url":"https://api.github.com/repos/bellmyer/career-mgr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bellmyer/career-mgr/labels{/name}","releases_url":"https://api.github.com/repos/bellmyer/career-mgr/releases{/id}","deployments_url":"https://api.github.com/repos/bellmyer/career-mgr/deployments","created_at":"2018-05-21T21:57:17Z","updated_at":"2018-09-20T21:41:15Z","pushed_at":"2018-10-25T13:31:27Z","git_url":"git://github.com/bellmyer/career-mgr.git","ssh_url":"git@github.com:bellmyer/career-mgr.git","clone_url":"https://github.com/bellmyer/career-mgr.git","svn_url":"https://github.com/bellmyer/career-mgr","homepage":null,"size":1198,"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,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"beyond-z:staging","ref":"staging","sha":"a6f2407b036fd2c95429b9430b355f5ad4f1fb0b","user":{"login":"beyond-z","id":6362885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjI4ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/6362885?v=4","gravatar_id":"","url":"https://api.github.com/users/beyond-z","html_url":"https://github.com/beyond-z","followers_url":"https://api.github.com/users/beyond-z/followers","following_url":"https://api.github.com/users/beyond-z/following{/other_user}","gists_url":"https://api.github.com/users/beyond-z/gists{/gist_id}","starred_url":"https://api.github.com/users/beyond-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beyond-z/subscriptions","organizations_url":"https://api.github.com/users/beyond-z/orgs","repos_url":"https://api.github.com/users/beyond-z/repos","events_url":"https://api.github.com/users/beyond-z/events{/privacy}","received_events_url":"https://api.github.com/users/beyond-z/received_events","type":"Organization","site_admin":false},"repo":{"id":134321757,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQzMjE3NTc=","name":"career-mgr","full_name":"beyond-z/career-mgr","private":false,"owner":{"login":"beyond-z","id":6362885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjI4ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/6362885?v=4","gravatar_id":"","url":"https://api.github.com/users/beyond-z","html_url":"https://github.com/beyond-z","followers_url":"https://api.github.com/users/beyond-z/followers","following_url":"https://api.github.com/users/beyond-z/following{/other_user}","gists_url":"https://api.github.com/users/beyond-z/gists{/gist_id}","starred_url":"https://api.github.com/users/beyond-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beyond-z/subscriptions","organizations_url":"https://api.github.com/users/beyond-z/orgs","repos_url":"https://api.github.com/users/beyond-z/repos","events_url":"https://api.github.com/users/beyond-z/events{/privacy}","received_events_url":"https://api.github.com/users/beyond-z/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/beyond-z/career-mgr","description":"A set of tools and features to help Braven Fellows and Alumni manager their career, especially in terms of getting their first job out of college","fork":false,"url":"https://api.github.com/repos/beyond-z/career-mgr","forks_url":"https://api.github.com/repos/beyond-z/career-mgr/forks","keys_url":"https://api.github.com/repos/beyond-z/career-mgr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beyond-z/career-mgr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beyond-z/career-mgr/teams","hooks_url":"https://api.github.com/repos/beyond-z/career-mgr/hooks","issue_events_url":"https://api.github.com/repos/beyond-z/career-mgr/issues/events{/number}","events_url":"https://api.github.com/repos/beyond-z/career-mgr/events","assignees_url":"https://api.github.com/repos/beyond-z/career-mgr/assignees{/user}","branches_url":"https://api.github.com/repos/beyond-z/career-mgr/branches{/branch}","tags_url":"https://api.github.com/repos/beyond-z/career-mgr/tags","blobs_url":"https://api.github.com/repos/beyond-z/career-mgr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beyond-z/career-mgr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beyond-z/career-mgr/git/refs{/sha}","trees_url":"https://api.github.com/repos/beyond-z/career-mgr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beyond-z/career-mgr/statuses/{sha}","languages_url":"https://api.github.com/repos/beyond-z/career-mgr/languages","stargazers_url":"https://api.github.com/repos/beyond-z/career-mgr/stargazers","contributors_url":"https://api.github.com/repos/beyond-z/career-mgr/contributors","subscribers_url":"https://api.github.com/repos/beyond-z/career-mgr/subscribers","subscription_url":"https://api.github.com/repos/beyond-z/career-mgr/subscription","commits_url":"https://api.github.com/repos/beyond-z/career-mgr/commits{/sha}","git_commits_url":"https://api.github.com/repos/beyond-z/career-mgr/git/commits{/sha}","comments_url":"https://api.github.com/repos/beyond-z/career-mgr/comments{/number}","issue_comment_url":"https://api.github.com/repos/beyond-z/career-mgr/issues/comments{/number}","contents_url":"https://api.github.com/repos/beyond-z/career-mgr/contents/{+path}","compare_url":"https://api.github.com/repos/beyond-z/career-mgr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beyond-z/career-mgr/merges","archive_url":"https://api.github.com/repos/beyond-z/career-mgr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beyond-z/career-mgr/downloads","issues_url":"https://api.github.com/repos/beyond-z/career-mgr/issues{/number}","pulls_url":"https://api.github.com/repos/beyond-z/career-mgr/pulls{/number}","milestones_url":"https://api.github.com/repos/beyond-z/career-mgr/milestones{/number}","notifications_url":"https://api.github.com/repos/beyond-z/career-mgr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beyond-z/career-mgr/labels{/name}","releases_url":"https://api.github.com/repos/beyond-z/career-mgr/releases{/id}","deployments_url":"https://api.github.com/repos/beyond-z/career-mgr/deployments","created_at":"2018-05-21T20:28:22Z","updated_at":"2018-10-24T15:08:38Z","pushed_at":"2018-10-25T13:36:10Z","git_url":"git://github.com/beyond-z/career-mgr.git","ssh_url":"git@github.com:beyond-z/career-mgr.git","clone_url":"https://github.com/beyond-z/career-mgr.git","svn_url":"https://github.com/beyond-z/career-mgr","homepage":null,"size":1211,"stargazers_count":0,"watchers_count":0,"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":0,"license":null,"forks":2,"open_issues":0,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/beyond-z/career-mgr/pulls/91"},"html":{"href":"https://github.com/beyond-z/career-mgr/pull/91"},"issue":{"href":"https://api.github.com/repos/beyond-z/career-mgr/issues/91"},"comments":{"href":"https://api.github.com/repos/beyond-z/career-mgr/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/beyond-z/career-mgr/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/beyond-z/career-mgr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/beyond-z/career-mgr/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/beyond-z/career-mgr/statuses/abff51b503c0e99b471d1aab1c19505a832e189b"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"sadleb","id":5596986,"node_id":"MDQ6VXNlcjU1OTY5ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/5596986?v=4","gravatar_id":"","url":"https://api.github.com/users/sadleb","html_url":"https://github.com/sadleb","followers_url":"https://api.github.com/users/sadleb/followers","following_url":"https://api.github.com/users/sadleb/following{/other_user}","gists_url":"https://api.github.com/users/sadleb/gists{/gist_id}","starred_url":"https://api.github.com/users/sadleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadleb/subscriptions","organizations_url":"https://api.github.com/users/sadleb/orgs","repos_url":"https://api.github.com/users/sadleb/repos","events_url":"https://api.github.com/users/sadleb/events{/privacy}","received_events_url":"https://api.github.com/users/sadleb/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":14,"deletions":5,"changed_files":6}}
{"actor":{"display_login":"sadleb"}}