X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/38b464a2387d8b4303f3f6749d3aa61856023dd4..3a43f9fe0421afdf74d2f570ee8987a4022519cf:/app/models/user.rb diff --git a/app/models/user.rb b/app/models/user.rb index 36ae0b55c..518cb94cc 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -43,11 +43,9 @@ # 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) }