Skip to content

Commit

Permalink
optimize loading object
Browse files Browse the repository at this point in the history
  • Loading branch information
Giallombardo Nathan committed Aug 14, 2024
1 parent 93dd732 commit 6d9d81e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/couchbase-orm/persistence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def update_attribute(name, value)
end

def assign_attributes(hash)
hash = hash.with_indifferent_access if hash.is_a?(Hash)
super(hash.except('type'))
end

Expand Down

0 comments on commit 6d9d81e

Please sign in to comment.