123456789_123456789_123456789_123456789_123456789_

Module: ActiveModel::Validations::Comparability

Do not use. This module is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: activemodel/lib/active_model/validations/comparability.rb

Constant Summary

Instance Method Summary

Instance Method Details

#error_options(value, option_value)

[ GitHub ]

  
# 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