method

option_as_number

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveModel::Validations::NumericalityValidator
option_as_number(record, option_value, precision, scale) 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/numericality.rb, line 68
      def option_as_number(record, option_value, precision, scale)
        parse_as_number(resolve_value(record, option_value), precision, scale)
      end
Register or log in to add new notes.