lib/pg_search/features/trigram.rb in pg_search-2.3.6 vs lib/pg_search/features/trigram.rb in pg_search-2.3.7
- old
+ new
@@ -33,20 +33,20 @@
options[:word_similarity]
end
def similarity_function
if word_similarity?
- 'word_similarity'
+ "word_similarity"
else
- 'similarity'
+ "similarity"
end
end
def infix_operator
if word_similarity?
- '<%'
+ "<%"
else
- '%'
+ "%"
end
end
def similarity
Arel::Nodes::NamedFunction.new(