]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
Fix some rubocop todos
[rails.git] / app / models / user.rb
index 36ae0b55c9bf005274d8866231f50672a55dd1d8..518cb94ccf29a81223671520c23dd09d5c467d1d 100644 (file)
 #  users_home_idx                (home_tile)
 #
 
-class User < ActiveRecord::Base
+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) }