This may be offtopic to Rails, but what are people doing to find records
based on fuzzy string matches? For example, if you wanted to find a
Person with name “David Heinemeier H.” but searched using the
string “Dave Hansson”.
Currently I am find_by_sql that calls the PostgreSQL function
“levenshtein(string1, string2)” which returns results with a score
indicating how close the matches are. It is OK, but nowhere good as I
would hope. Any better suggestions?