class User < ActiveRecord::Base # Include default devise modules. Others available are: # :token_authenticatable, :confirmable, :lockable and :timeoutable devise :ldap_authenticatable, :registerable, :recoverable, :rememberable, :trackable# , :validatable # Setup accessible (or protected) attributes for your model attr_accessible :email, :password, :password_confirmation end