{"action":"opened","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1036","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1036/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1036/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1036/events","html_url":"https://github.com/rails-api/active_model_serializers/issues/1036","id":99048147,"number":1036,"title":"Using serializers outside of ActionController ","user":{"login":"yjukaku","id":908365,"avatar_url":"https://avatars.githubusercontent.com/u/908365?v=3","gravatar_id":"","url":"https://api.github.com/users/yjukaku","html_url":"https://github.com/yjukaku","followers_url":"https://api.github.com/users/yjukaku/followers","following_url":"https://api.github.com/users/yjukaku/following{/other_user}","gists_url":"https://api.github.com/users/yjukaku/gists{/gist_id}","starred_url":"https://api.github.com/users/yjukaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjukaku/subscriptions","organizations_url":"https://api.github.com/users/yjukaku/orgs","repos_url":"https://api.github.com/users/yjukaku/repos","events_url":"https://api.github.com/users/yjukaku/events{/privacy}","received_events_url":"https://api.github.com/users/yjukaku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-04T19:55:03Z","updated_at":"2015-08-04T19:55:03Z","closed_at":null,"body":"1) It would be awesome if the docs could be updated to show how to use AMS outside of a controller.  If you want to do some checking in the console, it's not clear how to view serializer output.  I believe it comes down to creating the eg. `ArticleSerializer` object and passing it to an ie. `FlatternJsonAdapter` but I can never remember how to do it - and I can't quickly find it even now.\r\n\r\n2) Is there a way to get the default serializer for a class, like how `render json: @article` automatically knows how to get the `ArticleSerializer`?  I tried looking through the source for AMS but got lost.  It seems the `get_serializer` method might be the key but it seems to only be able to be called from within a controller.\r\n"}}