- Feb 25, 2014
-
-
Alex Reisner authored
-
Alex Reisner authored
-
- Feb 24, 2014
-
-
Alex Reisner authored
-
- Feb 08, 2014
-
-
Alex Reisner authored
-
- Dec 28, 2013
-
-
Alex Reisner authored
-
- Dec 23, 2013
-
-
Bonias authored
Example: class City < ActiveRecord::Base geocoded_by :address, :lookup => lambda{|obj| obj.custom_lookup } def custom_lookup # return custom lookup for record end end
-
Bonias authored
Allow to set custom lookup option for Geocoder.search, Geocoder::Query.new and ActiveRecord::Base.(reverse_)geocoded_by Examples: class City < ActiveRecord::Base geocoded_by :address, :lookup => :nominatim end Geocoder.search("address", :lookup => :nominatim)
-
- Sep 07, 2011
-
-
Alex Reisner authored
This has always been the intended behavior (as shown by the README's sample code which begins `if results.first`) but it wasn't implemented properly. Thanks to github.com/nhippenmeyer for pointing it out.
-
- Jul 21, 2011
-
-
James McCarthy authored
Removed set_defaults from all tests and replaced with teardown to reset the defaults. Signed-off-by:
James McCarthy <james2mccarthy@gmail.com>
-
- Jun 02, 2011
-
-
Alex Reisner authored
-
- May 10, 2011
-
-
Ahmed Adam authored
Allows custom handling of geocoding service connection problems.
-
- May 08, 2011
-
-
Jeff Keen authored
Fixes #56
-
- May 02, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
Instead use a proxy if http_proxy or https_proxy is set. Also revise code style to be more consistent with rest of library.
-
Olivier Garcia authored
Geocoder will try to use environment's http_proxy or https_proxy when doing lookups unless that behaviour has been disabled in the configuration
-
- Apr 22, 2011
-
-
Andrew Stevens authored
-
Andrew Stevens authored
-
Alex Reisner authored
Also alias as #province and #province_code.
-
Alex Reisner authored
-
- Apr 05, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
- Apr 01, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
Also add extract_coordinates method and use wherever relevant.
-
- Mar 29, 2011
-
-
Alex Reisner authored
Reported by github.com/joelmats. The array passed to Geocoder::Calculations.geographic_center was being modified in-place.
-
- Mar 25, 2011
-
-
Alex Reisner authored
Get rid of space after comma, if any (Google was returning no results).
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
- Mar 24, 2011
-
-
Alex Reisner authored
Was ignoring non-ASCII characters. Thanks to github.com/supergivi for reporting the bug.
-
Alex Reisner authored
-
Alex Reisner authored
Also clean up code comments.
-
Alex Reisner authored
-
- Mar 22, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
Was preventing other test from running.
-
Alex Reisner authored
Improve comments, make code style consistent with rest of Geocoder, and remove options (keep it dead simple).
-
Mat Ellis authored
Adds methods for calculating the bearing between two points and for converting that bearing into a compass point, e.g. North or South West. If you want fewer or additional compass points (e.g. South By South West, or just NESW) provide a second parameter containing your array of points, e.g. Geocoder::Calculations::compass_point(90,['north','east','south','west'])
-