Sha256: e0c2a984efff4cbaa017006514cfe41876d13d6285046271f1b4092b916164ee

Contents?: true

Size: 812 Bytes

Versions: 22

Compression:

Stored size: 812 Bytes

Contents

class User < ActiveRecord::Base

  # Connects this user object to Hydra behaviors. 
  include Hydra::User

  # Connects this user object to Blacklights Bookmarks and Folders. 
  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

22 entries across 22 versions & 1 rubygems

Version Path
fcrepo_admin-0.6.1 spec/internal/app/models/user.rb
fcrepo_admin-0.6.0 spec/internal/app/models/user.rb
fcrepo_admin-0.5.5 spec/internal/app/models/user.rb
fcrepo_admin-0.5.5.pre spec/internal/app/models/user.rb
fcrepo_admin-0.5.4 spec/internal/app/models/user.rb
fcrepo_admin-0.5.3 spec/internal/app/models/user.rb
fcrepo_admin-0.5.2 spec/internal/app/models/user.rb
fcrepo_admin-0.5.1 spec/internal/app/models/user.rb
fcrepo_admin-0.5.0 spec/internal/app/models/user.rb
fcrepo_admin-0.4.1 spec/internal/app/models/user.rb
fcrepo_admin-0.4.0 spec/internal/app/models/user.rb
fcrepo_admin-0.3.5 spec/internal/app/models/user.rb
fcrepo_admin-0.3.4 spec/internal/app/models/user.rb
fcrepo_admin-0.3.3 spec/internal/app/models/user.rb
fcrepo_admin-0.3.2 spec/internal/app/models/user.rb
fcrepo_admin-0.3.1 spec/internal/app/models/user.rb
fcrepo_admin-0.3.0 spec/internal/app/models/user.rb
fcrepo_admin-0.2.4 spec/internal/app/models/user.rb
fcrepo_admin-0.2.3 spec/internal/app/models/user.rb
fcrepo_admin-0.2.0 spec/internal/app/models/user.rb