- Mar 06, 2011
-
-
Alex Reisner authored
Kill some old, unnecessary require statements.
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
- Mar 05, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
More than one result is very rare and it's not clear how one would evaluate the choices. If this is required in the future a new method can be added.
-
Alex Reisner authored
-
Alex Reisner authored
This fixes a scope problem: blocks are evaluated in the context in which they are declared so custom routines were being evaluated in the context of the class, not the object.
-
Alex Reisner authored
Don't take 'reverse' argument, instead figure it out by looking at what options were specified for the model. Also, don't raise exceptions on bad configuration (no longer possible to detect, wasn't that important).
-
Alex Reisner authored
city, country, country_code, postal_code
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
Should have been part of commit 29af848a.
-
Alex Reisner authored
Split result parsing into separate method.
-
- Mar 04, 2011
-
-
Alex Reisner authored
No longer necessary.
-
Alex Reisner authored
Use JSON (json gem) instead.
-
Alex Reisner authored
-
Alex Reisner authored
Move model class methods to separate module.
-
Alex Reisner authored
Add Geocoder::Orm::Base module.
-
Alex Reisner authored
For advanced/custom handling of gecoding result data.
-
Alex Reisner authored
This is a generic method for fetching geo data and storing it in the object (now used by fetch_coordinates and fetch_address).
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
Instead detect further up the chain (before calling the Lookup).
-
Alex Reisner authored
Geocoder.search now always returns an array. Thanks to github.com/infinityrobot for reporting the bug.
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
Prefer to rely on lower level methods (reduce dependencies).
-
Alex Reisner authored
Also move 'address' and 'coordinates' methods from Geocoder::Lookup::Base to Geocoder. This simplifies the interface and allows us to choose a lookup engine dynamically for other types of geocoding (eg: IP addresses).
-
Alex Reisner authored
-
- Mar 03, 2011
-
-
Alex Reisner authored
Prepare to add support for Yahoo in addition to Google.
-
Alex Reisner authored
Add implementation for Google and anticipate addition of Yahoo (supply config option).
-
- Feb 18, 2011
-
-
Alex Reisner authored
-
Andrei Bocan authored
-
Alex Reisner authored
-