Reputation: 874
My latitude and longitude columns are inside a JSONB type column named geographic
, like this:
geographic: {
coordinates: [0, 0],
}
In Geocoder config I need to set column names (geocoded_by :address, latitude: :lat, longitude: :long
) to use methods like nearbys
, but Geocoder do not recognize JSONB type columns.
Upvotes: 0
Views: 51