From e92aa27622e1e0b09e180d8d1670089002f0fb13 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Tue, 29 Sep 2020 11:21:58 -0400 Subject: [PATCH] Remove Geokit gem (#8437) * Remove Geokit gem * removes `acts_as_mappable` --- Gemfile | 1 - app/models/drupal_content_type_map.rb | 6 ------ 2 files changed, 7 deletions(-) diff --git a/Gemfile b/Gemfile index f2eb3407b9..8128348b26 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,6 @@ gem 'figaro' gem 'friendly_id' gem 'gemoji' gem 'geocoder' -gem 'geokit-rails' gem 'georuby', '2.0' gem "google-cloud-storage" gem 'grape' diff --git a/app/models/drupal_content_type_map.rb b/app/models/drupal_content_type_map.rb index 2fc4eb2409..1ea7e10b1e 100644 --- a/app/models/drupal_content_type_map.rb +++ b/app/models/drupal_content_type_map.rb @@ -6,12 +6,6 @@ class DrupalContentTypeMap < ApplicationRecord validates :field_zoom_min_value, presence: true - acts_as_mappable default_units: :miles, - default_formula: :sphere, - distance_field_name: :distance, - lat_column_name: :lat, - lng_column_name: :lng - before_save :truncate_fields def truncate_fields