module Sequent::Core::Persistors
Public Class Methods
Source
# File lib/sequent/core/persistors/replay_optimized_postgres_persistor.rb, line 378 def self.normalize_symbols(value) value.is_a?(Symbol) ? value.name : value end
Normalizes symbol values to strings (by using its name) while preserving all other values. This allows symbol/string indifferent comparisons.