Skip to content
Snippets Groups Projects
Commit fb573f75 authored by Alex Reisner's avatar Alex Reisner
Browse files

Add note about request.location and localhost.

parent b5e33026
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,8 @@ Geocoder adds a `location` method to the standard `Rack::Request` object so you
# returns Geocoder::Result object
result = request.location
Note that this will usually return `nil` in your test and development environments because things like "localhost" and "0.0.0.0" are not an Internet IP addresses.
See _Advanced Geocoding_ below for more information about `Geocoder::Result` objects.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment