record_error(record, attribute, name, value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/format.rb, line 31
      def record_error(record, attribute, name, value)
        record.errors.add(attribute, :invalid, options.except(name).merge!(value: value))
      end
Register or log in to add new notes.