Skip to content

Commit

Permalink
fix undefined method
Browse files Browse the repository at this point in the history
  • Loading branch information
Giallombardo Nathan committed Aug 14, 2024
1 parent 4a9d514 commit 0dc9ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/couchbase-orm/attributes/dynamic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0dc9ed4

Please sign in to comment.