method

error_options

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Comparability
error_options(value, option_value) public

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/comparability.rb, line 10
      def error_options(value, option_value)
        options.except(*COMPARE_CHECKS.keys).merge!(
          count: option_value,
          value: value
        )
      end
Register or log in to add new notes.