method
without_default_proc
v5.1.7 -
Show latest stable
- Class:
ActiveModel::Errors
without_default_proc(hash)private
No documentation available.
# File activemodel/lib/active_model/errors.rb, line 453
def without_default_proc(hash)
hash.dup.tap do |new_h|
new_h.default_proc = nil
end
end