Hello I can't get the allow_blank validator to work.
Would it be possible to add an example in the doc?
For example:
params do
requires :foo, type: :string, allow_blank: :true
end
but sending an empty string still fails the requires validation
thanks!
Hello I can't get the allow_blank validator to work.
Would it be possible to add an example in the doc?
For example:
but sending an empty string still fails the
requiresvalidationthanks!