Skip to content

Commit

Permalink
fix rails 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Giallombardo Nathan committed Aug 16, 2024
1 parent 374aac5 commit 0ee7dcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/couchbase-orm/attributes/dynamic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def respond_to?(name, include_private = false)
#
# @return [ Object ] value of attribute
def _assign_attribute(name, value)
name = name.to_s
responds = name.reader == 'id' || respond_to?(name.writer)
if responds
public_send(name.writer, value)
Expand Down

0 comments on commit 0ee7dcf

Please sign in to comment.