{"action":"created","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1010","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1010/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1010/events","html_url":"https://github.com/rails-api/active_model_serializers/pull/1010","id":95272850,"number":1010,"title":"add support for string value serializer","user":{"login":"vyrak","id":482536,"avatar_url":"https://avatars.githubusercontent.com/u/482536?v=3","gravatar_id":"","url":"https://api.github.com/users/vyrak","html_url":"https://github.com/vyrak","followers_url":"https://api.github.com/users/vyrak/followers","following_url":"https://api.github.com/users/vyrak/following{/other_user}","gists_url":"https://api.github.com/users/vyrak/gists{/gist_id}","starred_url":"https://api.github.com/users/vyrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vyrak/subscriptions","organizations_url":"https://api.github.com/users/vyrak/orgs","repos_url":"https://api.github.com/users/vyrak/repos","events_url":"https://api.github.com/users/vyrak/events{/privacy}","received_events_url":"https://api.github.com/users/vyrak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T19:36:18Z","updated_at":"2015-07-17T03:25:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/pulls/1010","html_url":"https://github.com/rails-api/active_model_serializers/pull/1010","diff_url":"https://github.com/rails-api/active_model_serializers/pull/1010.diff","patch_url":"https://github.com/rails-api/active_model_serializers/pull/1010.patch"},"body":"I was having issues specifying a string name of a serializer when upgrading to from v0.9.3 to v0.10.0rc2. For example:\r\n\r\n``` ruby\r\nclass PostSerializer < ActiveModel::Serializer\r\n  belongs_to :blog, serializer: \"CustomBlogSerializer\"\r\nend\r\n```\r\n\r\nThis PR should allow for that again."},"comment":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/comments/122159190","html_url":"https://github.com/rails-api/active_model_serializers/pull/1010#issuecomment-122159190","issue_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1010","id":122159190,"user":{"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},"created_at":"2015-07-17T03:25:31Z","updated_at":"2015-07-17T03:25:31Z","body":"Hey @vyrak thank you. Why exactly you ended up needing to specify the serializer using a `string`?"}}