Chaining validation filled / positive int


#1

Can you chain validation as:

required(:some_positive_number).filled(:int?).value(gteq?: 0)

If you expect the user should always sumbit a 0 or greater value?


#2

required(:some_positive_number).filled(:int?, gt?: 0) is what I was looking for, I found it in another thread.


#3

For the record, chaining will be supported in 1.0.0.