Sha256: 0a8b6614b89bb10c3cce134bae60a9e6ac9f843e505a57ea827fac0628515274
Contents?: true
Size: 788 Bytes
Versions: 6
Compression:
Stored size: 788 Bytes
Contents
class User < ActiveRecord::Base # Connects this user object to Hydra behaviors. include Hydra::User # Connects this user object to Blacklights Bookmarks. include Blacklight::User # Include default devise modules. Others available are: # :token_authenticatable, :confirmable, # :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable # Setup accessible (or protected) attributes for your model attr_accessible :email, :password, :password_confirmation, :remember_me # attr_accessible :title, :body # Method added by Blacklight; Blacklight uses #to_s on your # user class to get a user-displayable login/identifier for # the account. def to_s email end end
Version data entries
6 entries across 6 versions & 2 rubygems