1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/models/user.rb
2018-11-30 13:28:40 +05:00

20 lines
399 B
Ruby

# frozen_string_literal: true
class User < ApplicationRecord
devise(
# :confirmable,
:database_authenticatable,
# :lockable,
# :omniauthable,
# :recoverable,
:registerable,
:rememberable,
# :timeoutable,
:trackable,
:validatable,
)
rolify role_join_table_name: 'user_roles'
has_many :passport_confirmations, dependent: :restrict_with_exception
end