alexreisner/geocoder — pull request #179 by tonydewan (2012-02-14 23:43:37+00:00)
Title: Add table_name to near scopes

I had an issue with a near() scopes and some gnarly custom joins, where mysql had an issue with the ambiguity of the lat/lng attributes. I didn't run the tests and I'm unfamiliar with the geocoder codebase, but I followed the pattern from other parts of the same class and it's working for my specific examples.