{"action":"created","comment":{"url":"https://api.github.com/repos/openstax/tutor-server/pulls/comments/68614854","id":68614854,"diff_hunk":"@@ -79,7 +80,7 @@ def create_page_id_to_page_id_map\n     # but for now we don't handle that case\n     # since it's hard to figure out what to do for the dashboard/scores\n     page_id_to_pages_map.each do |page_id, pages|\n-      page_id_to_page_id_map[page_id] = pages.size == 1 ? pages.first.id : nil\n+      page_id_to_page_id_map[page_id.to_s] = pages.size == 1 ? pages.first.id : nil\n     end","path":"app/subsystems/content/models/map.rb","position":45,"original_position":45,"commit_id":"e1b8f6ce66aaf3a6dbe3bca690324264445df020","original_commit_id":"e1b8f6ce66aaf3a6dbe3bca690324264445df020","user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"body":":) I know about it hehe","created_at":"2016-06-27T17:01:18Z","updated_at":"2016-06-27T17:01:18Z","html_url":"https://github.com/openstax/tutor-server/pull/1153#discussion_r68614854","pull_request_url":"https://api.github.com/repos/openstax/tutor-server/pulls/1153","_links":{"self":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/comments/68614854"},"html":{"href":"https://github.com/openstax/tutor-server/pull/1153#discussion_r68614854"},"pull_request":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/1153"}}},"pull_request":{"url":"https://api.github.com/repos/openstax/tutor-server/pulls/1153","id":75041713,"html_url":"https://github.com/openstax/tutor-server/pull/1153","diff_url":"https://github.com/openstax/tutor-server/pull/1153.diff","patch_url":"https://github.com/openstax/tutor-server/pull/1153.patch","issue_url":"https://api.github.com/repos/openstax/tutor-server/issues/1153","number":1153,"state":"open","locked":false,"title":"Speed up serialization","user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"body":"- Added Oj gem for fast JSON parsing\r\n- Converted all serialized fields to use Oj for serialization","created_at":"2016-06-23T23:04:29Z","updated_at":"2016-06-27T17:01:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"311650914391cfd86d2e46cdd73902981b542865","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openstax/tutor-server/pulls/1153/commits","review_comments_url":"https://api.github.com/repos/openstax/tutor-server/pulls/1153/comments","review_comment_url":"https://api.github.com/repos/openstax/tutor-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openstax/tutor-server/issues/1153/comments","statuses_url":"https://api.github.com/repos/openstax/tutor-server/statuses/e1b8f6ce66aaf3a6dbe3bca690324264445df020","head":{"label":"openstax:speed_up_serialization","ref":"speed_up_serialization","sha":"e1b8f6ce66aaf3a6dbe3bca690324264445df020","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":24337612,"name":"tutor-server","full_name":"openstax/tutor-server","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/tutor-server","description":":mortar_board:","fork":false,"url":"https://api.github.com/repos/openstax/tutor-server","forks_url":"https://api.github.com/repos/openstax/tutor-server/forks","keys_url":"https://api.github.com/repos/openstax/tutor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/tutor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/tutor-server/teams","hooks_url":"https://api.github.com/repos/openstax/tutor-server/hooks","issue_events_url":"https://api.github.com/repos/openstax/tutor-server/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/tutor-server/events","assignees_url":"https://api.github.com/repos/openstax/tutor-server/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/tutor-server/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/tutor-server/tags","blobs_url":"https://api.github.com/repos/openstax/tutor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/tutor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/tutor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/tutor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/tutor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/tutor-server/languages","stargazers_url":"https://api.github.com/repos/openstax/tutor-server/stargazers","contributors_url":"https://api.github.com/repos/openstax/tutor-server/contributors","subscribers_url":"https://api.github.com/repos/openstax/tutor-server/subscribers","subscription_url":"https://api.github.com/repos/openstax/tutor-server/subscription","commits_url":"https://api.github.com/repos/openstax/tutor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/tutor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/tutor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/tutor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/openstax/tutor-server/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/tutor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/tutor-server/merges","archive_url":"https://api.github.com/repos/openstax/tutor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/tutor-server/downloads","issues_url":"https://api.github.com/repos/openstax/tutor-server/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/tutor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/tutor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/tutor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/tutor-server/labels{/name}","releases_url":"https://api.github.com/repos/openstax/tutor-server/releases{/id}","deployments_url":"https://api.github.com/repos/openstax/tutor-server/deployments","created_at":"2014-09-22T17:10:29Z","updated_at":"2016-04-09T11:34:13Z","pushed_at":"2016-06-27T17:00:33Z","git_url":"git://github.com/openstax/tutor-server.git","ssh_url":"git@github.com:openstax/tutor-server.git","clone_url":"https://github.com/openstax/tutor-server.git","svn_url":"https://github.com/openstax/tutor-server","homepage":"","size":32457,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":6,"default_branch":"master"}},"base":{"label":"openstax:master","ref":"master","sha":"cdfac1291d7e5b290935a802d276d17fb4120ab9","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":24337612,"name":"tutor-server","full_name":"openstax/tutor-server","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/tutor-server","description":":mortar_board:","fork":false,"url":"https://api.github.com/repos/openstax/tutor-server","forks_url":"https://api.github.com/repos/openstax/tutor-server/forks","keys_url":"https://api.github.com/repos/openstax/tutor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/tutor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/tutor-server/teams","hooks_url":"https://api.github.com/repos/openstax/tutor-server/hooks","issue_events_url":"https://api.github.com/repos/openstax/tutor-server/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/tutor-server/events","assignees_url":"https://api.github.com/repos/openstax/tutor-server/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/tutor-server/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/tutor-server/tags","blobs_url":"https://api.github.com/repos/openstax/tutor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/tutor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/tutor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/tutor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/tutor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/tutor-server/languages","stargazers_url":"https://api.github.com/repos/openstax/tutor-server/stargazers","contributors_url":"https://api.github.com/repos/openstax/tutor-server/contributors","subscribers_url":"https://api.github.com/repos/openstax/tutor-server/subscribers","subscription_url":"https://api.github.com/repos/openstax/tutor-server/subscription","commits_url":"https://api.github.com/repos/openstax/tutor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/tutor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/tutor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/tutor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/openstax/tutor-server/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/tutor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/tutor-server/merges","archive_url":"https://api.github.com/repos/openstax/tutor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/tutor-server/downloads","issues_url":"https://api.github.com/repos/openstax/tutor-server/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/tutor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/tutor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/tutor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/tutor-server/labels{/name}","releases_url":"https://api.github.com/repos/openstax/tutor-server/releases{/id}","deployments_url":"https://api.github.com/repos/openstax/tutor-server/deployments","created_at":"2014-09-22T17:10:29Z","updated_at":"2016-04-09T11:34:13Z","pushed_at":"2016-06-27T17:00:33Z","git_url":"git://github.com/openstax/tutor-server.git","ssh_url":"git@github.com:openstax/tutor-server.git","clone_url":"https://github.com/openstax/tutor-server.git","svn_url":"https://github.com/openstax/tutor-server","homepage":"","size":32457,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/1153"},"html":{"href":"https://github.com/openstax/tutor-server/pull/1153"},"issue":{"href":"https://api.github.com/repos/openstax/tutor-server/issues/1153"},"comments":{"href":"https://api.github.com/repos/openstax/tutor-server/issues/1153/comments"},"review_comments":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/1153/comments"},"review_comment":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/1153/commits"},"statuses":{"href":"https://api.github.com/repos/openstax/tutor-server/statuses/e1b8f6ce66aaf3a6dbe3bca690324264445df020"}}}}
{"actor":{"display_login":"Dantemss"}}