Skip to content

Commit 16062c6

Browse files
committed
Complete rake name:fuzzy_match
- Tested against a real database - Advances towards #6
1 parent 4148dd8 commit 16062c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/tasks/fuzzy_match.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ namespace :name do
2525
matches = Name.fuzzy_match(query, method: method)
2626
if matches.any?
2727
matches.each do |match|
28-
puts "Match: #{match.name} (Similarity: #{match.score})"
28+
puts "- Match: #{match.name} (Score: #{match.score})"
2929
end
3030
else
31-
puts 'No close matches found.'
31+
puts 'No close matches found'
3232
end
3333
end
3434
end

0 commit comments

Comments
 (0)