Class: User
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- User
- Includes:
- Blacklight::User::Authlogic, Blacklight::User::UserGeneratedContent
- Defined in:
- vendor/plugins/blacklight/app/models/user.rb
Instance Method Summary (collapse)
-
- (Boolean) is_real?
Does this user actually exist in the db?.
Methods included from Blacklight::User::Authlogic
Methods included from Blacklight::User::UserGeneratedContent
#bookmarked_document_ids, #document_is_bookmarked?, #documents_to_bookmark=, #has_bookmarks?, included
Instance Method Details
- (Boolean) is_real?
Does this user actually exist in the db?
8 9 10 |
# File 'vendor/plugins/blacklight/app/models/user.rb', line 8 def is_real? self.class.count(:conditions=>['id = ?',self.id]) == 1 end |