def run_callbacks(kind, *args, &block)
      cascadable_children(kind).each do |child|
        if child.run_callbacks(child_callback_type(kind, child), *args) == false
          return false
        end
      end
      callback_executable?(kind) ? super(kind, *args, &block) : true
    end
def run_callbacks(kind, *args, &block)
      cascadable_children(kind).each do |child|
        if child.run_callbacks(child_callback_type(kind, child), *args) == false
          return false
        end
      end
      callback_executable?(kind) ? super(kind, *args, &block) : true
    end
Run the callbacks for the document. This overrides active support's
 functionality to cascade callbacks to embedded documents that have been
 flagged as such.

 @example Run the callbacks.
   run_callbacks :save do
     save!
   end

 @param [ Symbol ] kind The type of callback to execute.
 @param [ Array ] args Any options.

 @return [ Document ] The document

 @since 2.3.0