alexreisner/geocoder — pull request #212 by gugl (2012-04-04 23:35:42+00:00)
Title: Call to #near doesn't add any fields to the sql statement when the :select option is set to :ignore

I had the problem that using #near within a ActiveRelation#merge for a different table added .* for the geocoded table to the select part of the sql statement. I ended up with table1.*, table2.*, resulting in a bug that was really hard to test. As a quick fix for this, i added support for using :ignore as a :select option value and not adding any fields/tables (other than distance and bearing) to the select part.
Do you have a better way to get around this issue?

This is also a fix for issue #202

https://github.com/alexreisner/geocoder/issues/202