Skip to content

Commit

Permalink
fix break in ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Giallombardo Nathan committed Aug 14, 2024
1 parent 15b57c9 commit 9f5f5ed
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 @@ -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)
Expand Down

0 comments on commit 9f5f5ed

Please sign in to comment.