]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
Ignore the users.nearby column
[rails.git] / app / models / user.rb
index 1095dc6eaccbf9e4466d4b80bc6764d81f76371b..36ae0b55c9bf005274d8866231f50672a55dd1d8 100644 (file)
@@ -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) }