X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/38b464a2387d8b4303f3f6749d3aa61856023dd4..3cf383522eb585ca8fab567c413600ab5197b368:/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) }