def delete(id, collection = nil, mongoid_session_name = nil)
          id = id.first if id.kind_of?(Array)
          get_bucket(collection, mongoid_session_name: mongoid_session_name).delete(id)
        rescue Exception => e
          trace :error, "Cannot delete content from the Grid: #{collection_name(collection)} #{e.message}"