lib/pg_search/features/dmetaphone.rb in pg_search-2.3.6 vs lib/pg_search/features/dmetaphone.rb in pg_search-2.3.7
- old
+ new
@@ -5,10 +5,10 @@
module PgSearch
module Features
class DMetaphone
def initialize(query, options, columns, model, normalizer)
dmetaphone_normalizer = Normalizer.new(normalizer)
- options = (options || {}).merge(dictionary: 'simple')
+ options = (options || {}).merge(dictionary: "simple")
@tsearch = TSearch.new(query, options, columns, model, dmetaphone_normalizer)
end
delegate :conditions, to: :tsearch