diff --git a/app/models/geozone.rb b/app/models/geozone.rb index 345e040d1..667ec98f7 100644 --- a/app/models/geozone.rb +++ b/app/models/geozone.rb @@ -13,10 +13,6 @@ class Geozone < ApplicationRecord Geozone.pluck(:name) end - def self.city - where(name: "city").first - end - def safe_to_destroy? Geozone.reflect_on_all_associations(:has_many).all? do |association| association.klass.where(geozone: self).empty?