RailsCasts Pro episodes are now free!

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)