]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
Rename Trace#public to Trace#visible_to_all
[rails.git] / app / models / user.rb
index 81154fff7ad9dcabed5f7045da7b76b119046e68..010cdf464b3acf9a66858a8a91006e6ddb4720c4 100644 (file)
@@ -26,7 +26,7 @@ class User < ActiveRecord::Base
 
   scope :visible, -> { where(:status => ["pending", "active", "confirmed"]) }
   scope :active, -> { where(:status => ["active", "confirmed"]) }
-  scope :public, -> { where(:data_public => true) }
+  scope :identifiable, -> { where(:data_public => true) }
 
   has_attached_file :image,
     :default_url => "/assets/:class/:attachment/:style.png",