Closed
Description
If you have a parameter of type Array[File]
, validation always fails because the primitive type coercer is trying to do @coercer[val]
, and @coercer
is ::File
.
optional(:nested, type: Hash, default: {}) do
optional :files, type: Array[File]
end
Version 1.2.5 doesn't have this issue, so 1.3.0 broke parameter type coercion.