-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed NoMethod error when an IPAddr instance is an argument of Geocod…
…er::Query.new fixes #1673
- Loading branch information
Matthew Lemieux
committed
Dec 18, 2024
1 parent
134eacb
commit c4264dd
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ def sanitized_text | |
text.split(/\s*,\s*/).join(',') | ||
end | ||
else | ||
text.strip | ||
text.to_s.strip | ||
end | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters