From: Andy Allan Date: Wed, 11 Dec 2019 17:08:31 +0000 (+0100) Subject: Remove ignoring of nearby column X-Git-Tag: live~2351^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/040302286f0fab0f9a4e448b5a9d835f2b6e106c Remove ignoring of nearby column This is the final stage in the process. Now that the migrations are run, and apps restarted, it is safe to remove the ignore_column declaration. --- diff --git a/app/models/user.rb b/app/models/user.rb index 609982389..518cb94cc 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -46,8 +46,6 @@ class User < ApplicationRecord require "xml/libxml" - self.ignored_columns = ["nearby"] - has_many :traces, -> { where(:visible => true) } has_many :diary_entries, -> { order(:created_at => :desc) } has_many :diary_comments, -> { order(:created_at => :desc) }