Ruby Geocoding Quick Start Guide - QuotaGuard
When you sign up with QuotaGuard on Heroku, you will be provided with a unique username and password that you can use when configuring your proxy service in your application:
We recommend you store the connection string in an environment variable QUOTAGUARD_URL to maintain compatibility with platforms like Heroku.
You can test your proxy setup using curl:
$ curl -x username:email@example.com:9292 http://www.google.com/
Ruby Geocoder is the leading geocoding solution for Ruby and Rails and works seamlessly with QuotaGuard.
Simply add your authenticated connection string in to the geocoder initializer.
# config/initializers/geocoder.rb Geocoder.configure( ... :http_proxy => ENV["QUOTAGUARD_URL"], :timeout => 5 )