lookup option for ActiveRecord::Base.geocoded_by can be a proc

  Example:

    class City < ActiveRecord::Base
      geocoded_by :address, :lookup => lambda{|obj| obj.custom_lookup }

      def custom_lookup
        # return custom lookup for record
      end
    end