josevalim/active_model_serializers — pull request #82 by thegrubbsian (2012-06-19 04:49:13+00:00)
Title: Serialize a collection with the base type's serializer or a specified one.

I believe this fixes: https://github.com/josevalim/active_model_serializers/issues/70

I'm betting this will be considered a naive implementation but I'd love ideas on how to make it better. It may be too flimsy to rely on respond_to?(:each) for detecting a collection.