From 6d9d81e14f1bf57aefe01717d4d439c70b522930 Mon Sep 17 00:00:00 2001 From: Giallombardo Nathan Date: Wed, 14 Aug 2024 15:22:50 +0000 Subject: [PATCH] optimize loading object --- lib/couchbase-orm/persistence.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/couchbase-orm/persistence.rb b/lib/couchbase-orm/persistence.rb index daf2c95c..a8eaefeb 100644 --- a/lib/couchbase-orm/persistence.rb +++ b/lib/couchbase-orm/persistence.rb @@ -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