Pheeew. Solved it, it was an issue with active_model_serializers. Once you use it, it puts root elements to the arrays, on all JSONs even the ones created without explicit serializers.
To fix it, put > ActiveModel::Serializer.root = false > ActiveModel::ArraySerializer.root = false in an initializer. To get the root elements back where desired, put in the corresponding Serializer self.root = true Sorry for the noise here, but maybe someona else creating an API with Hobo will be using active_model_serializers and falls into this trap as I did. Good night! Stefan -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
