]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
Use the conventional 'destroy' method name for destroying traces
[rails.git] / app / models / user.rb
index 6e9062a801f8f41d18e8c9cca100f59a51d1d05f..6099823897473a04ab83a12e6ff90ef4fcb1e40f 100644 (file)
 #  users_home_idx                (home_tile)
 #
 
-class User < ActiveRecord::Base
+class User < ApplicationRecord
   require "xml/libxml"
 
-  self.ignored_columns = %w[image_file_name image_fingerprint image_content_type]
+  self.ignored_columns = ["nearby"]
 
   has_many :traces, -> { where(:visible => true) }
   has_many :diary_entries, -> { order(:created_at => :desc) }