10 lines
368 B
Ruby
10 lines
368 B
Ruby
|
class User < ApplicationRecord
|
||
|
# Include default devise modules. Others available are:
|
||
|
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
|
||
|
devise :database_authenticatable, :registerable,
|
||
|
:recoverable, :rememberable, :validatable,
|
||
|
:trackable, :confirmable
|
||
|
|
||
|
has_many :authorized_applications, dependent: :destroy
|
||
|
end
|