{"action":"closed","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1151","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1151/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1151/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1151/events","html_url":"https://github.com/rails-api/active_model_serializers/issues/1151","id":106499123,"number":1151,"title":"Missing custom root ability in 0.10.x","user":{"login":"yoda","id":72414,"avatar_url":"https://avatars.githubusercontent.com/u/72414?v=3","gravatar_id":"","url":"https://api.github.com/users/yoda","html_url":"https://github.com/yoda","followers_url":"https://api.github.com/users/yoda/followers","following_url":"https://api.github.com/users/yoda/following{/other_user}","gists_url":"https://api.github.com/users/yoda/gists{/gist_id}","starred_url":"https://api.github.com/users/yoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoda/subscriptions","organizations_url":"https://api.github.com/users/yoda/orgs","repos_url":"https://api.github.com/users/yoda/repos","events_url":"https://api.github.com/users/yoda/events{/privacy}","received_events_url":"https://api.github.com/users/yoda/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails-api/active_model_serializers/labels/0.10.x","name":"0.10.x","color":"bfd4f2"},{"url":"https://api.github.com/repos/rails-api/active_model_serializers/labels/Feature","name":"Feature","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"joaomdmoura","id":667063,"avatar_url":"https://avatars.githubusercontent.com/u/667063?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomdmoura","html_url":"https://github.com/joaomdmoura","followers_url":"https://api.github.com/users/joaomdmoura/followers","following_url":"https://api.github.com/users/joaomdmoura/following{/other_user}","gists_url":"https://api.github.com/users/joaomdmoura/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomdmoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomdmoura/subscriptions","organizations_url":"https://api.github.com/users/joaomdmoura/orgs","repos_url":"https://api.github.com/users/joaomdmoura/repos","events_url":"https://api.github.com/users/joaomdmoura/events{/privacy}","received_events_url":"https://api.github.com/users/joaomdmoura/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/milestones/5","html_url":"https://github.com/rails-api/active_model_serializers/milestones/0.10","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/milestones/5/labels","id":1011188,"number":5,"title":"0.10","description":"","creator":{"login":"kurko","id":70312,"avatar_url":"https://avatars.githubusercontent.com/u/70312?v=3","gravatar_id":"","url":"https://api.github.com/users/kurko","html_url":"https://github.com/kurko","followers_url":"https://api.github.com/users/kurko/followers","following_url":"https://api.github.com/users/kurko/following{/other_user}","gists_url":"https://api.github.com/users/kurko/gists{/gist_id}","starred_url":"https://api.github.com/users/kurko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurko/subscriptions","organizations_url":"https://api.github.com/users/kurko/orgs","repos_url":"https://api.github.com/users/kurko/repos","events_url":"https://api.github.com/users/kurko/events{/privacy}","received_events_url":"https://api.github.com/users/kurko/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":42,"state":"open","created_at":"2015-03-08T13:22:14Z","updated_at":"2015-09-24T02:32:26Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-15T07:35:34Z","updated_at":"2015-09-24T02:32:26Z","closed_at":"2015-09-24T02:32:26Z","body":"The ability to customise the root json key has gone missing in 0.10.x. I think there has been some sort of merge issue or divergence from master as this doesn't seem to occur on master.\r\n\r\nProblem on 0-10-stable\r\nhttps://github.com/rails-api/active_model_serializers/blob/0-10-stable/lib/active_model/serializer.rb#L170-L172\r\n\r\nIssue seemed to occur at:\r\nhttps://github.com/rails-api/active_model_serializers/commit/329691276a1bb2827f20bceda5d15fd79a08d3dc\r\n\r\nThen it seems it was recitifed in this saga:\r\nhttps://github.com/rails-api/active_model_serializers/pull/1013\r\n\r\nCurrently on master:\r\nhttps://github.com/rails-api/active_model_serializers/blob/master/lib/active_model/serializer.rb#L125-L127"}}