From 714f8c80684b087b14252f0c70df2e78aa72132b Mon Sep 17 00:00:00 2001 From: Abhay Nikam Date: Mon, 24 Aug 2020 21:27:45 +0530 Subject: [PATCH] Documents other_than option also accepts the proc or a symbol for numericality validation [skip ci] --- activemodel/lib/active_model/validations/numericality.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/activemodel/lib/active_model/validations/numericality.rb b/activemodel/lib/active_model/validations/numericality.rb index 84891e57fe..2e42e236f7 100644 --- a/activemodel/lib/active_model/validations/numericality.rb +++ b/activemodel/lib/active_model/validations/numericality.rb @@ -181,6 +181,7 @@ module ActiveModel # * :less_than # * :less_than_or_equal_to # * :only_integer + # * :other_than # # For example: #