Sha256: a8b18ffba6b966da3d8c5a6132a9fd47140b29f4062568602207fe9e30a6ed00
Contents?: true
Size: 704 Bytes
Versions: 3
Compression:
Stored size: 704 Bytes
Contents
class User < ActiveRecord::Base include Spotlight::User attr_accessible :email, :password, :password_confirmation if Rails::VERSION::MAJOR < 4 # Connects this user object to Blacklights Bookmarks. include Blacklight::User # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable # 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.0.3 | spec/internal/app/models/user.rb |
blacklight-spotlight-0.0.2 | spec/internal/app/models/user.rb |
blacklight-spotlight-0.0.1 | spec/internal/app/models/user.rb |