lib/active_model/validations/numericality.rb in activemodel-7.0.0.alpha2 vs lib/active_model/validations/numericality.rb in activemodel-7.0.0.rc1
- old
+ new
@@ -159,10 +159,10 @@
# end
#
# 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+).
+ # integer (default is +false+).
# * <tt>:allow_nil</tt> - Skip validation if attribute is +nil+ (default is
# +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.