From 0dc9ed42998e74d3d89ab2fa6a04f0ee068f824f Mon Sep 17 00:00:00 2001 From: Giallombardo Nathan Date: Wed, 14 Aug 2024 17:15:26 +0000 Subject: [PATCH] fix undefined method --- 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 524864aa..b48f425a 100644 --- a/lib/couchbase-orm/attributes/dynamic.rb +++ b/lib/couchbase-orm/attributes/dynamic.rb @@ -80,7 +80,7 @@ def define_dynamic_reader(name) instance_eval do define_singleton_method(name) do - @attributes[getter].value + @attributes[name].value end end end