def document(data)
      document = collaborative_model.find_by_collaborative_key(data['id'])

      @documents ||= []
      @documents << document

      send_attribute_versions(document)

      stream_from "loose_leaf.documents.#{document.id}.operations"
    end
def document(data)
      document = collaborative_model.find_by_collaborative_key(data['id'])

      @documents ||= []
      @documents << document

      send_attribute_versions(document)

      stream_from "loose_leaf.documents.#{document.id}.operations"
    end
Subscribe to changes to a document