X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8a39c6b4a223160d47b293bc07d57d4e77685746..ad04bd57f2ede62cf4cdd182cfa57222f1bf80ab:/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) }