{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/25564","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/25564/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/25564/comments","events_url":"https://api.github.com/repos/rails/rails/issues/25564/events","html_url":"https://github.com/rails/rails/pull/25564","id":162825422,"number":25564,"title":"Correctly handle frozen options for ActiveRecord::Serialization#seria…","user":{"login":"brewski","id":38794,"avatar_url":"https://avatars.githubusercontent.com/u/38794?v=3","gravatar_id":"","url":"https://api.github.com/users/brewski","html_url":"https://github.com/brewski","followers_url":"https://api.github.com/users/brewski/followers","following_url":"https://api.github.com/users/brewski/following{/other_user}","gists_url":"https://api.github.com/users/brewski/gists{/gist_id}","starred_url":"https://api.github.com/users/brewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brewski/subscriptions","organizations_url":"https://api.github.com/users/brewski/orgs","repos_url":"https://api.github.com/users/brewski/repos","events_url":"https://api.github.com/users/brewski/events{/privacy}","received_events_url":"https://api.github.com/users/brewski/received_events","type":"User","site_admin":false},"labels":[{"id":107191,"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1","default":false},{"id":257468118,"url":"https://api.github.com/repos/rails/rails/labels/needs%20work","name":"needs work","color":"000000","default":false}],"state":"open","locked":false,"assignee":{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrif","html_url":"https://github.com/sgrif","followers_url":"https://api.github.com/users/sgrif/followers","following_url":"https://api.github.com/users/sgrif/following{/other_user}","gists_url":"https://api.github.com/users/sgrif/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrif/subscriptions","organizations_url":"https://api.github.com/users/sgrif/orgs","repos_url":"https://api.github.com/users/sgrif/repos","events_url":"https://api.github.com/users/sgrif/events{/privacy}","received_events_url":"https://api.github.com/users/sgrif/received_events","type":"User","site_admin":false},"assignees":[{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrif","html_url":"https://github.com/sgrif","followers_url":"https://api.github.com/users/sgrif/followers","following_url":"https://api.github.com/users/sgrif/following{/other_user}","gists_url":"https://api.github.com/users/sgrif/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrif/subscriptions","organizations_url":"https://api.github.com/users/sgrif/orgs","repos_url":"https://api.github.com/users/sgrif/repos","events_url":"https://api.github.com/users/sgrif/events{/privacy}","received_events_url":"https://api.github.com/users/sgrif/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-06-29T02:00:11Z","updated_at":"2016-12-12T19:53:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/25564","html_url":"https://github.com/rails/rails/pull/25564","diff_url":"https://github.com/rails/rails/pull/25564.diff","patch_url":"https://github.com/rails/rails/pull/25564.patch"},"body":"### Summary\n\nThis pull request fixes a bug that causes `ActiveRecord::Serialization#serializable_hash` to raise a RuntimeError when it receives a frozen hash as its argument. Instead of cloning the argument to prevent mutation of the input parameter, this patch dup's it. This will clear the frozen state and allow for modifications of the local duplicate.\n### Other Information\n\nThis patch reworks an existing test to verify the new behavior. I figured it was easier to kill two birds with one stone here and the new version of the test should be less brittle.\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/266534235","html_url":"https://github.com/rails/rails/pull/25564#issuecomment-266534235","issue_url":"https://api.github.com/repos/rails/rails/issues/25564","id":266534235,"user":{"login":"brewski","id":38794,"avatar_url":"https://avatars.githubusercontent.com/u/38794?v=3","gravatar_id":"","url":"https://api.github.com/users/brewski","html_url":"https://github.com/brewski","followers_url":"https://api.github.com/users/brewski/followers","following_url":"https://api.github.com/users/brewski/following{/other_user}","gists_url":"https://api.github.com/users/brewski/gists{/gist_id}","starred_url":"https://api.github.com/users/brewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brewski/subscriptions","organizations_url":"https://api.github.com/users/brewski/orgs","repos_url":"https://api.github.com/users/brewski/repos","events_url":"https://api.github.com/users/brewski/events{/privacy}","received_events_url":"https://api.github.com/users/brewski/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T19:53:29Z","updated_at":"2016-12-12T19:53:29Z","body":"@sgrif I rebased and removed the changelog entry."}}
{"actor":{"display_login":"brewski"}}