alexreisner/geocoder — pull request #453 by phallguy (2013-04-26 00:16:57+00:00)
Title: Allow custom search options when geocoding on the model

Geocoder.search accepts a custom options parameter which can be used to apply service specific configuration for a given search. In my cause, limiting a search result to a specific country for google.

This patch allows developers to pass a :search_options value or proc which is in turn forwarded to the Gecoder.search method when the model is geocoded.