RGeo by default renders spatial columns in WKT. To switch it to GeoJSON, set this in an initializer:
RGeo::ActiveRecord::GeometryMixin.set_json_generator(:geojson)
RGeo by default renders spatial columns in WKT. To switch it to GeoJSON, set this in an initializer:
RGeo::ActiveRecord::GeometryMixin.set_json_generator(:geojson)