Sha256: a8770e1b1b289e6665688ccee69e6dbefac5de8d4b086a41eafe346b4e32d4ca
Contents?: true
Size: 299 Bytes
Versions: 7
Compression:
Stored size: 299 Bytes
Contents
module PgSearch class Normalizer def initialize(config) @config = config end def add_normalization(original_sql) normalized_sql = original_sql normalized_sql = "unaccent(#{normalized_sql})" if @config.ignore.include?(:accents) normalized_sql end end end
Version data entries
7 entries across 7 versions & 1 rubygems