lib/active_model/validations/numericality.rb in activemodel-4.2.7.1 vs lib/active_model/validations/numericality.rb in activemodel-4.2.8.rc1

- old
+ new

@@ -112,10 +112,10 @@ # Configuration options: # * <tt>:message</tt> - A custom error message (default is: "is not a number"). # * <tt>:only_integer</tt> - Specifies whether the value has to be an # integer, e.g. an integral value (default is +false+). # * <tt>:allow_nil</tt> - Skip validation if attribute is +nil+ (default is - # +false+). Notice that for fixnum and float columns empty strings are + # +false+). Notice that for Integer and Float columns empty strings are # converted to +nil+. # * <tt>:greater_than</tt> - Specifies the value must be greater than the # supplied value. # * <tt>:greater_than_or_equal_to</tt> - Specifies the value must be # greater than or equal the supplied value.