Rename User#public to User#identifiable

This commit is contained in:
Tom Hughes 2014-04-25 00:16:35 +01:00
parent bd402599f5
commit 56d39b06f2
3 changed files with 5 additions and 5 deletions

View 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",