Flowdock
method

record_error

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: ActiveModel::Validations::FormatValidator
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.