Closed zinkkrysty closed 6 years ago
The :nilify
option doesn't exist in dry-types
anymore - which is the engine we use for coercion. You have to provide a special :type
, I'll look it up for you later today if you can't find it.
Rather than having this as a collection, you need to make it a property and set the type option to an appropriate dry-type constant. See http://dry-rb.org/gems/dry-types/array-with-member/
Now closing as this isn't actually an issue with disposable - get in touch via the slack/ gitter channels if you need more help
I would expect the output to be
["lead_form"]
I'm actually using Reform but the example here is simplified.
This happens especially when using Rails and submitting
collection_check_boxes
through a form (it appends an empty string so that the update works when de-selecting all check boxes).Is this not supported or is it a bug?