X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8750405bf7cc44ef53ea2387c5315925175de169..32fa1246986473126505fd3d3f2687cd7bd19825:/app/models/user.rb?ds=inline diff --git a/app/models/user.rb b/app/models/user.rb index 6e9062a80..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 = %w[image_file_name image_fingerprint image_content_type] - has_many :traces, -> { where(:visible => true) } has_many :diary_entries, -> { order(:created_at => :desc) } has_many :diary_comments, -> { order(:created_at => :desc) }