lib/dynamoid/document.rb in dynamoid-3.9.0 vs lib/dynamoid/document.rb in dynamoid-3.10.0

- old
+ new

@@ -258,10 +258,10 @@ # Hash value is based on primary key. So models can be used safely as a # +Hash+ keys. # # @return [Integer] def hash - hash_key.hash ^ range_value.hash + [hash_key, range_value].hash end # Return a model's hash key value. # # @since 0.4.0