Flowdock
method

confirmation_value_equal?

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActiveModel::Validations::ConfirmationValidator
confirmation_value_equal?(record, attribute, value, confirmed) 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/confirmation.rb, line 31
        def confirmation_value_equal?(record, attribute, value, confirmed)
          if !options[:case_sensitive] && value.is_a?(String)
            value.casecmp(confirmed) == 0
          else
            value == confirmed
          end
        end
Register or log in to add new notes.