{"action":"created","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1796","repository_url":"https://api.github.com/repos/rails-api/active_model_serializers","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1796/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1796/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1796/events","html_url":"https://github.com/rails-api/active_model_serializers/issues/1796","id":159723005,"number":1796,"title":"undefined method `each' for nil:NilClass","user":{"login":"KevinColemanInc","id":2381771,"avatar_url":"https://avatars.githubusercontent.com/u/2381771?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinColemanInc","html_url":"https://github.com/KevinColemanInc","followers_url":"https://api.github.com/users/KevinColemanInc/followers","following_url":"https://api.github.com/users/KevinColemanInc/following{/other_user}","gists_url":"https://api.github.com/users/KevinColemanInc/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinColemanInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinColemanInc/subscriptions","organizations_url":"https://api.github.com/users/KevinColemanInc/orgs","repos_url":"https://api.github.com/users/KevinColemanInc/repos","events_url":"https://api.github.com/users/KevinColemanInc/events{/privacy}","received_events_url":"https://api.github.com/users/KevinColemanInc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-10T21:02:27Z","updated_at":"2016-06-10T21:38:59Z","closed_at":null,"body":"#### Expected behavior vs actual behavior\r\n`render json: [nil]` causes `undefined method 'each' for nil:NilClass` when this is called `Attributes.new(serializer, instance_options).serializable_hash(options)` in the adapter.\r\n\r\nmaybe it should just do `[]` or `[null]`?\r\n\r\nversion: 0.10.0"},"comment":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/comments/225302463","html_url":"https://github.com/rails-api/active_model_serializers/issues/1796#issuecomment-225302463","issue_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1796","id":225302463,"user":{"login":"bf4","id":142914,"avatar_url":"https://avatars.githubusercontent.com/u/142914?v=3","gravatar_id":"","url":"https://api.github.com/users/bf4","html_url":"https://github.com/bf4","followers_url":"https://api.github.com/users/bf4/followers","following_url":"https://api.github.com/users/bf4/following{/other_user}","gists_url":"https://api.github.com/users/bf4/gists{/gist_id}","starred_url":"https://api.github.com/users/bf4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf4/subscriptions","organizations_url":"https://api.github.com/users/bf4/orgs","repos_url":"https://api.github.com/users/bf4/repos","events_url":"https://api.github.com/users/bf4/events{/privacy}","received_events_url":"https://api.github.com/users/bf4/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T21:38:59Z","updated_at":"2016-06-10T21:38:59Z","body":"`[nil]` doesn't make any sense to me as a value you'd want to render"}}
{"actor":{"display_login":"bf4"}}