method

without_default_proc

rails latest stable - Class: ActiveModel::Errors

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

without_default_proc(hash)
private

No documentation available.

# File activemodel/lib/active_model/errors.rb, line 548
    def without_default_proc(hash)
      hash.dup.tap do |new_h|
        new_h.default_proc = nil
      end
    end