mirror of https://github.com/rails/rails
Documents other_than option also accepts the proc or a symbol for numericality validation [skip ci]
This commit is contained in:
parent
35a103a96e
commit
714f8c8068
|
@ -181,6 +181,7 @@ module ActiveModel
|
||||||
# * <tt>:less_than</tt>
|
# * <tt>:less_than</tt>
|
||||||
# * <tt>:less_than_or_equal_to</tt>
|
# * <tt>:less_than_or_equal_to</tt>
|
||||||
# * <tt>:only_integer</tt>
|
# * <tt>:only_integer</tt>
|
||||||
|
# * <tt>:other_than</tt>
|
||||||
#
|
#
|
||||||
# For example:
|
# For example:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue