]> git.openstreetmap.org Git - rails.git/commitdiff
Remove ignoring of nearby column
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 11 Dec 2019 17:08:31 +0000 (18:08 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 11 Dec 2019 17:08:31 +0000 (18:08 +0100)
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.

app/models/user.rb

index 6099823897473a04ab83a12e6ff90ef4fcb1e40f..518cb94ccf29a81223671520c23dd09d5c467d1d 100644 (file)
@@ -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) }