method

new

rails latest stable - Class: ActiveModel::Validations::NumericalityValidator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

new(options)
public

No documentation available.

# File activemodel/lib/active_model/validations/numericality.rb, line 12
      def initialize(options)
        super(options.reverse_merge(:only_integer => false, :allow_nil => false))
      end