GitHub PullRequestEvent at 2014-09-10 18:51:00
Repository: community
Actor: zachallaun
Payload: {"action":"closed","number":215,"pull_request":{"url":"https://api.github.com/repos/hackerschool/community/pulls/215","id":21040212,"html_url":"https://github.com/hackerschool/community/pull/215","diff_url":"https://github.com/hackerschool/community/pull/215.diff","patch_url":"https://github.com/hackerschool/community/pull/215.patch","issue_url":"https://api.github.com/repos/hackerschool/community/issues/215","number":215,"state":"closed","locked":false,"title":"Serialize user ids instead of users for delayed jobs","user":{"login":"zachallaun","id":503938,"avatar_url":"https://avatars.githubusercontent.com/u/503938?v=2","gravatar_id":"06625cbad0c69f5c2e673a4312e9fd7e","url":"https://api.github.com/users/zachallaun","html_url":"https://github.com/zachallaun","followers_url":"https://api.github.com/users/zachallaun/followers","following_url":"https://api.github.com/users/zachallaun/following{/other_user}","gists_url":"https://api.github.com/users/zachallaun/gists{/gist_id}","starred_url":"https://api.github.com/users/zachallaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachallaun/subscriptions","organizations_url":"https://api.github.com/users/zachallaun/orgs","repos_url":"https://api.github.com/users/zachallaun/repos","events_url":"https://api.github.com/users/zachallaun/events{/privacy}","received_events_url":"https://api.github.com/users/zachallaun/received_events","type":"User","site_admin":false},"body":"This will (hopefully) fix an issue we've had with active record objects being serialized incorrectly, causing emails to not be sent. This change keeps us from serializing active record objects buy serializing a ruby data structure (array of IDs) instead. There's an added benefit: when we deserialize, we make one batch query to get all users at once instead of N individual queries as each active record object is deserialized.","created_at":"2014-09-10T18:30:07Z","updated_at":"2014-09-10T18:51:00Z","closed_at":"2014-09-10T18:51:00Z","merged_at":"2014-09-10T18:51:00Z","merge_commit_sha":"76f8460ca87e5b4a1f97ce13e5bb40d22ed052ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hackerschool/community/pulls/215/commits","review_comments_url":"https://api.github.com/repos/hackerschool/community/pulls/215/comments","review_comment_url":"https://api.github.com/repos/hackerschool/community/pulls/comments/{number}","comments_url":"https://api.github.com/repos/hackerschool/community/issues/215/comments","statuses_url":"https://api.github.com/repos/hackerschool/community/statuses/009ce8461252e9918c322df57fb732bd63555f1e","head":{"label":"hackerschool:fix-delayed-job-issue","ref":"fix-delayed-job-issue","sha":"009ce8461252e9918c322df57fb732bd63555f1e","user":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"repo":{"id":19648077,"name":"community","full_name":"hackerschool/community","owner":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hackerschool/community","description":"community.hackerschool.com","fork":false,"url":"https://api.github.com/repos/hackerschool/community","forks_url":"https://api.github.com/repos/hackerschool/community/forks","keys_url":"https://api.github.com/repos/hackerschool/community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hackerschool/community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hackerschool/community/teams","hooks_url":"https://api.github.com/repos/hackerschool/community/hooks","issue_events_url":"https://api.github.com/repos/hackerschool/community/issues/events{/number}","events_url":"https://api.github.com/repos/hackerschool/community/events","assignees_url":"https://api.github.com/repos/hackerschool/community/assignees{/user}","branches_url":"https://api.github.com/repos/hackerschool/community/branches{/branch}","tags_url":"https://api.github.com/repos/hackerschool/community/tags","blobs_url":"https://api.github.com/repos/hackerschool/community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hackerschool/community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hackerschool/community/git/refs{/sha}","trees_url":"https://api.github.com/repos/hackerschool/community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hackerschool/community/statuses/{sha}","languages_url":"https://api.github.com/repos/hackerschool/community/languages","stargazers_url":"https://api.github.com/repos/hackerschool/community/stargazers","contributors_url":"https://api.github.com/repos/hackerschool/community/contributors","subscribers_url":"https://api.github.com/repos/hackerschool/community/subscribers","subscription_url":"https://api.github.com/repos/hackerschool/community/subscription","commits_url":"https://api.github.com/repos/hackerschool/community/commits{/sha}","git_commits_url":"https://api.github.com/repos/hackerschool/community/git/commits{/sha}","comments_url":"https://api.github.com/repos/hackerschool/community/comments{/number}","issue_comment_url":"https://api.github.com/repos/hackerschool/community/issues/comments/{number}","contents_url":"https://api.github.com/repos/hackerschool/community/contents/{+path}","compare_url":"https://api.github.com/repos/hackerschool/community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hackerschool/community/merges","archive_url":"https://api.github.com/repos/hackerschool/community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hackerschool/community/downloads","issues_url":"https://api.github.com/repos/hackerschool/community/issues{/number}","pulls_url":"https://api.github.com/repos/hackerschool/community/pulls{/number}","milestones_url":"https://api.github.com/repos/hackerschool/community/milestones{/number}","notifications_url":"https://api.github.com/repos/hackerschool/community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hackerschool/community/labels{/name}","releases_url":"https://api.github.com/repos/hackerschool/community/releases{/id}","created_at":"2014-05-10T17:51:10Z","updated_at":"2014-09-04T16:32:00Z","pushed_at":"2014-09-10T18:51:00Z","git_url":"git://github.com/hackerschool/community.git","ssh_url":"git@github.com:hackerschool/community.git","clone_url":"https://github.com/hackerschool/community.git","svn_url":"https://github.com/hackerschool/community","homepage":null,"size":16438,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":11,"mirror_url":null,"open_issues_count":66,"forks":11,"open_issues":66,"watchers":26,"default_branch":"master"}},"base":{"label":"hackerschool:master","ref":"master","sha":"b3184b1bfa7bcf2f4f531bdb02ca6b4bf7045fb7","user":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"repo":{"id":19648077,"name":"community","full_name":"hackerschool/community","owner":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hackerschool/community","description":"community.hackerschool.com","fork":false,"url":"https://api.github.com/repos/hackerschool/community","forks_url":"https://api.github.com/repos/hackerschool/community/forks","keys_url":"https://api.github.com/repos/hackerschool/community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hackerschool/community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hackerschool/community/teams","hooks_url":"https://api.github.com/repos/hackerschool/community/hooks","issue_events_url":"https://api.github.com/repos/hackerschool/community/issues/events{/number}","events_url":"https://api.github.com/repos/hackerschool/community/events","assignees_url":"https://api.github.com/repos/hackerschool/community/assignees{/user}","branches_url":"https://api.github.com/repos/hackerschool/community/branches{/branch}","tags_url":"https://api.github.com/repos/hackerschool/community/tags","blobs_url":"https://api.github.com/repos/hackerschool/community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hackerschool/community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hackerschool/community/git/refs{/sha}","trees_url":"https://api.github.com/repos/hackerschool/community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hackerschool/community/statuses/{sha}","languages_url":"https://api.github.com/repos/hackerschool/community/languages","stargazers_url":"https://api.github.com/repos/hackerschool/community/stargazers","contributors_url":"https://api.github.com/repos/hackerschool/community/contributors","subscribers_url":"https://api.github.com/repos/hackerschool/community/subscribers","subscription_url":"https://api.github.com/repos/hackerschool/community/subscription","commits_url":"https://api.github.com/repos/hackerschool/community/commits{/sha}","git_commits_url":"https://api.github.com/repos/hackerschool/community/git/commits{/sha}","comments_url":"https://api.github.com/repos/hackerschool/community/comments{/number}","issue_comment_url":"https://api.github.com/repos/hackerschool/community/issues/comments/{number}","contents_url":"https://api.github.com/repos/hackerschool/community/contents/{+path}","compare_url":"https://api.github.com/repos/hackerschool/community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hackerschool/community/merges","archive_url":"https://api.github.com/repos/hackerschool/community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hackerschool/community/downloads","issues_url":"https://api.github.com/repos/hackerschool/community/issues{/number}","pulls_url":"https://api.github.com/repos/hackerschool/community/pulls{/number}","milestones_url":"https://api.github.com/repos/hackerschool/community/milestones{/number}","notifications_url":"https://api.github.com/repos/hackerschool/community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hackerschool/community/labels{/name}","releases_url":"https://api.github.com/repos/hackerschool/community/releases{/id}","created_at":"2014-05-10T17:51:10Z","updated_at":"2014-09-04T16:32:00Z","pushed_at":"2014-09-10T18:51:00Z","git_url":"git://github.com/hackerschool/community.git","ssh_url":"git@github.com:hackerschool/community.git","clone_url":"https://github.com/hackerschool/community.git","svn_url":"https://github.com/hackerschool/community","homepage":null,"size":16438,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":11,"mirror_url":null,"open_issues_count":66,"forks":11,"open_issues":66,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hackerschool/community/pulls/215"},"html":{"href":"https://github.com/hackerschool/community/pull/215"},"issue":{"href":"https://api.github.com/repos/hackerschool/community/issues/215"},"comments":{"href":"https://api.github.com/repos/hackerschool/community/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/hackerschool/community/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/hackerschool/community/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/hackerschool/community/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/hackerschool/community/statuses/009ce8461252e9918c322df57fb732bd63555f1e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"zachallaun","id":503938,"avatar_url":"https://avatars.githubusercontent.com/u/503938?v=2","gravatar_id":"06625cbad0c69f5c2e673a4312e9fd7e","url":"https://api.github.com/users/zachallaun","html_url":"https://github.com/zachallaun","followers_url":"https://api.github.com/users/zachallaun/followers","following_url":"https://api.github.com/users/zachallaun/following{/other_user}","gists_url":"https://api.github.com/users/zachallaun/gists{/gist_id}","starred_url":"https://api.github.com/users/zachallaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachallaun/subscriptions","organizations_url":"https://api.github.com/users/zachallaun/orgs","repos_url":"https://api.github.com/users/zachallaun/repos","events_url":"https://api.github.com/users/zachallaun/events{/privacy}","received_events_url":"https://api.github.com/users/zachallaun/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":12,"deletions":9,"changed_files":5}}