Rename User#public to User#identifiable
This commit is contained in:
parent
bd402599f5
commit
56d39b06f2
3 changed files with 5 additions and 5 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue