def quote(value, column = nil)
      if value.kind_of?(GeoRuby::SimpleFeatures::Geometry)
        "'#{value.as_hex_ewkb}'"
      else
        original_quote(value,column)
      end
    end
def quote(value, column = nil)
      if value.kind_of?(GeoRuby::SimpleFeatures::Geometry)
        "'#{value.as_hex_ewkb}'"
      else
        original_quote(value,column)
      end
    end
Redefines the quote method to add behaviour for when a Geometry is encountered