From 9f5f5ed8957ed9836929c22b1f407a8668981ff0 Mon Sep 17 00:00:00 2001 From: Giallombardo Nathan Date: Wed, 14 Aug 2024 18:12:28 +0200 Subject: [PATCH] fix break in ruby 3.0 --- lib/couchbase-orm/attributes/dynamic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/couchbase-orm/attributes/dynamic.rb b/lib/couchbase-orm/attributes/dynamic.rb index 329c2369..afdc8f61 100644 --- a/lib/couchbase-orm/attributes/dynamic.rb +++ b/lib/couchbase-orm/attributes/dynamic.rb @@ -27,7 +27,7 @@ def respond_to?(name, include_private = false) # # @return [ Object ] value of attribute def _assign_attribute(name, value) - setter = name.writer + setter = name.to_s.writer responds = setter == 'id=' || respond_to?(setter) if responds public_send(setter, value)