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?
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?
required(:some_positive_number).filled(:int?, gt?: 0) is what I was looking for, I found it in another thread.
For the record, chaining will be supported in 1.0.0.