rails-api/active_model_serializers — pull request #619 by gauthier-delacroix (2014-08-29 09:48:19+00:00)
Title: Allow ArraySerializer to inherit :each_serializer root

This change make ArraySerializer inherit `each_serializer`'s root when no specific root is set.

I'ts just a way to avoid definig root twice and keep things DRY.

JSON API now requires the same (plural) root for single resource and collections.