@author Guy van den Berg @since 0.9
# File lib/dm-validations/validators/confirmation_validator.rb, line 17 def call(target) return true if valid?(target) error_message = ( @options[:message] || ValidationErrors.default_error_message( :confirmation, field_name ) ) add_error(target, error_message, field_name) false end
Generated with the Darkfish Rdoc Generator 2.