lib/postgis_functions.rb in nofxx-postgis_adapter-0.3.9 vs lib/postgis_functions.rb in nofxx-postgis_adapter-0.5.0
- old
+ new
@@ -27,10 +27,10 @@
end
private
def get_column_name
- @geo_column ||= postgis_geoms[:columns]
+ @geo_column ||= postgis_geoms[:columns][0]
end
#
# Construct the PostGIS SQL query
#