lib/koine/attributes/adapter/array_of.rb in koine-attributes-1.2.0 vs lib/koine/attributes/adapter/array_of.rb in koine-attributes-1.2.1
- old
+ new
@@ -9,9 +9,14 @@
def for_values
@adapter
end
+ def with_attribute_name(name)
+ @adapter.with_attribute_name(name)
+ super(name)
+ end
+
private
def coerce_not_nil(collectionOfValues)
secure do
collectionOfValues.map { |value| @adapter.coerce(value) }