X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/80238df3cad5817bfea58cfe887faa415f911ae5..dd294f89b80686fb0bd5eed6ff89cf87254440b1:/app/models/user.rb diff --git a/app/models/user.rb b/app/models/user.rb index 1095dc6ea..36ae0b55c 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -46,6 +46,8 @@ class User < ActiveRecord::Base 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) }