lib/koine/attributes/attributes_factory.rb in koine-attributes-1.2.0 vs lib/koine/attributes/attributes_factory.rb in koine-attributes-1.2.1

- old
+ new

@@ -10,10 +10,10 @@ Attributes.new(target_object, adapters: @adapters, options: @options) end def add_attribute(name, adapter, &block) adapter = coerce_adapter(adapter) - adapter.attribute_name = name + adapter.with_attribute_name(name) yield(adapter) if block @adapters[name.to_sym] = adapter.freeze end def coerce_adapter(adapter)