Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

George Yacoub's Profile

GitHub User: georgeyacoub

Site: georgeyacoub.com

Comments by George Yacoub

Avatar

You can use

ruby
Geocoder::Calculations.to_miles(km)