lib/active_model/validations/numericality.rb in activemodel-7.0.2.4 vs lib/active_model/validations/numericality.rb in activemodel-7.0.3
- old
+ new
@@ -181,10 +181,10 @@
# * <tt>:even</tt> - Specifies the value must be an even number.
# * <tt>:in</tt> - Check that the value is within a range.
#
# There is also a list of default options supported by every validator:
# +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+ .
- # See <tt>ActiveModel::Validations#validates</tt> for more information
+ # See ActiveModel::Validations::ClassMethods#validates for more information.
#
# The following checks can also be supplied with a proc or a symbol which
# corresponds to a method:
#
# * <tt>:greater_than</tt>