GitHub PullRequestEvent at 2014-03-12 03:33:03
Repository: rack-mini-profiler
Actor: huoxito
Payload: {"action":"opened","number":65,"pull_request":{"url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/65","id":13454551,"html_url":"https://github.com/MiniProfiler/rack-mini-profiler/pull/65","diff_url":"https://github.com/MiniProfiler/rack-mini-profiler/pull/65.diff","patch_url":"https://github.com/MiniProfiler/rack-mini-profiler/pull/65.patch","issue_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/issues/65","number":65,"state":"open","title":"Fix \"cant modify frozen object\" on PG adapters","user":{"login":"huoxito","id":245662,"avatar_url":"https://gravatar.com/avatar/cb018011756216717fdcf05ac30aa67c?d=https%3A%2F%2Fidenticons.github.com%2F53398cfd36428f3c60fa9386ceaab2f4.png&r=x","gravatar_id":"cb018011756216717fdcf05ac30aa67c","url":"https://api.github.com/users/huoxito","html_url":"https://github.com/huoxito","followers_url":"https://api.github.com/users/huoxito/followers","following_url":"https://api.github.com/users/huoxito/following{/other_user}","gists_url":"https://api.github.com/users/huoxito/gists{/gist_id}","starred_url":"https://api.github.com/users/huoxito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huoxito/subscriptions","organizations_url":"https://api.github.com/users/huoxito/orgs","repos_url":"https://api.github.com/users/huoxito/repos","events_url":"https://api.github.com/users/huoxito/events{/privacy}","received_events_url":"https://api.github.com/users/huoxito/received_events","type":"User","site_admin":false},"body":"I believe this is very similar to https://github.com/MiniProfiler/rack-mini-profiler/pull/49\r\nit's trying to modify a nil object so we better check for nil before\r\nsetting the instance var\r\n\r\nI've been enjoying working on Spree with rack mini profiler installed but for some reason I started getting those errors today, probably some internal spree query change. Got that running on rails 4.0.3","created_at":"2014-03-12T03:33:02Z","updated_at":"2014-03-12T03:33:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/65/commits","review_comments_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/65/comments","review_comment_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/comments/{number}","comments_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/issues/65/comments","statuses_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/statuses/04d92598ab0da95554b2c247578e96dc4ada9761","head":{"label":"huoxito:cant-modify-frozen-nil","ref":"cant-modify-frozen-nil","sha":"04d92598ab0da95554b2c247578e96dc4ada9761","user":{"login":"huoxito","id":245662,"avatar_url":"https://gravatar.com/avatar/cb018011756216717fdcf05ac30aa67c?d=https%3A%2F%2Fidenticons.github.com%2F53398cfd36428f3c60fa9386ceaab2f4.png&r=x","gravatar_id":"cb018011756216717fdcf05ac30aa67c","url":"https://api.github.com/users/huoxito","html_url":"https://github.com/huoxito","followers_url":"https://api.github.com/users/huoxito/followers","following_url":"https://api.github.com/users/huoxito/following{/other_user}","gists_url":"https://api.github.com/users/huoxito/gists{/gist_id}","starred_url":"https://api.github.com/users/huoxito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huoxito/subscriptions","organizations_url":"https://api.github.com/users/huoxito/orgs","repos_url":"https://api.github.com/users/huoxito/repos","events_url":"https://api.github.com/users/huoxito/events{/privacy}","received_events_url":"https://api.github.com/users/huoxito/received_events","type":"User","site_admin":false},"repo":{"id":17654200,"name":"rack-mini-profiler","full_name":"huoxito/rack-mini-profiler","owner":{"login":"huoxito","id":245662,"avatar_url":"https://gravatar.com/avatar/cb018011756216717fdcf05ac30aa67c?d=https%3A%2F%2Fidenticons.github.com%2F53398cfd36428f3c60fa9386ceaab2f4.png&r=x","gravatar_id":"cb018011756216717fdcf05ac30aa67c","url":"https://api.github.com/users/huoxito","html_url":"https://github.com/huoxito","followers_url":"https://api.github.com/users/huoxito/followers","following_url":"https://api.github.com/users/huoxito/following{/other_user}","gists_url":"https://api.github.com/users/huoxito/gists{/gist_id}","starred_url":"https://api.github.com/users/huoxito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huoxito/subscriptions","organizations_url":"https://api.github.com/users/huoxito/orgs","repos_url":"https://api.github.com/users/huoxito/repos","events_url":"https://api.github.com/users/huoxito/events{/privacy}","received_events_url":"https://api.github.com/users/huoxito/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/huoxito/rack-mini-profiler","description":"Profiler for your development and production Ruby rack apps. ","fork":true,"url":"https://api.github.com/repos/huoxito/rack-mini-profiler","forks_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/forks","keys_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/teams","hooks_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/hooks","issue_events_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/issues/events{/number}","events_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/events","assignees_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/assignees{/user}","branches_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/branches{/branch}","tags_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/tags","blobs_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/statuses/{sha}","languages_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/languages","stargazers_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/stargazers","contributors_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/contributors","subscribers_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/subscribers","subscription_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/subscription","commits_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/issues/comments/{number}","contents_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/contents/{+path}","compare_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/merges","archive_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/downloads","issues_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/issues{/number}","pulls_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/pulls{/number}","milestones_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/milestones{/number}","notifications_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/labels{/name}","releases_url":"https://api.github.com/repos/huoxito/rack-mini-profiler/releases{/id}","created_at":"2014-03-12T03:30:11Z","updated_at":"2014-03-12T03:33:03Z","pushed_at":"2014-03-12T03:30:49Z","git_url":"git://github.com/huoxito/rack-mini-profiler.git","ssh_url":"git@github.com:huoxito/rack-mini-profiler.git","clone_url":"https://github.com/huoxito/rack-mini-profiler.git","svn_url":"https://github.com/huoxito/rack-mini-profiler","homepage":null,"size":981,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MiniProfiler:master","ref":"master","sha":"734c8a5d47b0a4ce3a1d07e5fe3c6aa64dee548e","user":{"login":"MiniProfiler","id":1631473,"avatar_url":"https://gravatar.com/avatar/3219e0b287f1c4722967f464b030576a?d=https%3A%2F%2Fidenticons.github.com%2Fc9e5d8d9f3e01382213781619c5dd61e.png&r=x","gravatar_id":"3219e0b287f1c4722967f464b030576a","url":"https://api.github.com/users/MiniProfiler","html_url":"https://github.com/MiniProfiler","followers_url":"https://api.github.com/users/MiniProfiler/followers","following_url":"https://api.github.com/users/MiniProfiler/following{/other_user}","gists_url":"https://api.github.com/users/MiniProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/MiniProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiniProfiler/subscriptions","organizations_url":"https://api.github.com/users/MiniProfiler/orgs","repos_url":"https://api.github.com/users/MiniProfiler/repos","events_url":"https://api.github.com/users/MiniProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/MiniProfiler/received_events","type":"Organization","site_admin":false},"repo":{"id":12656803,"name":"rack-mini-profiler","full_name":"MiniProfiler/rack-mini-profiler","owner":{"login":"MiniProfiler","id":1631473,"avatar_url":"https://gravatar.com/avatar/3219e0b287f1c4722967f464b030576a?d=https%3A%2F%2Fidenticons.github.com%2Fc9e5d8d9f3e01382213781619c5dd61e.png&r=x","gravatar_id":"3219e0b287f1c4722967f464b030576a","url":"https://api.github.com/users/MiniProfiler","html_url":"https://github.com/MiniProfiler","followers_url":"https://api.github.com/users/MiniProfiler/followers","following_url":"https://api.github.com/users/MiniProfiler/following{/other_user}","gists_url":"https://api.github.com/users/MiniProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/MiniProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiniProfiler/subscriptions","organizations_url":"https://api.github.com/users/MiniProfiler/orgs","repos_url":"https://api.github.com/users/MiniProfiler/repos","events_url":"https://api.github.com/users/MiniProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/MiniProfiler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MiniProfiler/rack-mini-profiler","description":"Profiler for your development and production Ruby rack apps. ","fork":false,"url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler","forks_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/forks","keys_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/teams","hooks_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/hooks","issue_events_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/issues/events{/number}","events_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/events","assignees_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/assignees{/user}","branches_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/branches{/branch}","tags_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/tags","blobs_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/statuses/{sha}","languages_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/languages","stargazers_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/stargazers","contributors_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/contributors","subscribers_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/subscribers","subscription_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/subscription","commits_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/issues/comments/{number}","contents_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/contents/{+path}","compare_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/merges","archive_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/downloads","issues_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/issues{/number}","pulls_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls{/number}","milestones_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/milestones{/number}","notifications_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/labels{/name}","releases_url":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/releases{/id}","created_at":"2013-09-06T23:32:44Z","updated_at":"2014-03-07T20:28:45Z","pushed_at":"2014-03-07T20:28:46Z","git_url":"git://github.com/MiniProfiler/rack-mini-profiler.git","ssh_url":"git@github.com:MiniProfiler/rack-mini-profiler.git","clone_url":"https://github.com/MiniProfiler/rack-mini-profiler.git","svn_url":"https://github.com/MiniProfiler/rack-mini-profiler","homepage":null,"size":981,"stargazers_count":296,"watchers_count":296,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":59,"mirror_url":null,"open_issues_count":15,"forks":59,"open_issues":15,"watchers":296,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/65"},"html":{"href":"https://github.com/MiniProfiler/rack-mini-profiler/pull/65"},"issue":{"href":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/issues/65"},"comments":{"href":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/MiniProfiler/rack-mini-profiler/statuses/04d92598ab0da95554b2c247578e96dc4ada9761"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}