13 lines
495 B
Ruby
13 lines
495 B
Ruby
# frozen_string_literal: true
|
|
|
|
class User < ActiveRecord::Base
|
|
# Include default devise modules. Others available are:
|
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
|
devise :database_authenticatable, :recoverable,
|
|
:registerable, :rememberable, :timeoutable,
|
|
:trackable, :validatable
|
|
|
|
# Setup accessible (or protected) attributes for your model
|
|
# attr_accessible :email, :password, :password_confirmation, :remember_me
|
|
# attr_accessible :title, :body
|
|
end
|