def serialize(resource, serializer)
      includes = serializer.send(:includes)[field]
      association = resource.send(field)
      if association
        RubySerializer.as_json(association, include: includes)
      end
    end
def serialize(resource, serializer)
      includes = serializer.send(:includes)[field]
      association = resource.send(field)
      if association
        RubySerializer.as_json(association, include: includes)
      end
    end
----------------------------------------------------------------------------------------------