lib/koine/attributes/adapter/hash_of.rb in koine-attributes-1.2.0 vs lib/koine/attributes/adapter/hash_of.rb in koine-attributes-1.2.1
- old
+ new
@@ -14,9 +14,15 @@
def for_values
@value_adapter
end
+ def with_attribute_name(name)
+ @key_adapter.with_attribute_name(name)
+ @value_adapter.with_attribute_name(name)
+ super(name)
+ end
+
private
def coerce_not_nil(hash)
secure do
{}.tap do |new_hash|