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

21 lines
399 B
Ruby
Raw Normal View History

2018-11-29 15:57:57 -05:00
# frozen_string_literal: true
class User < ApplicationRecord
devise(
# :confirmable,
:database_authenticatable,
# :lockable,
# :omniauthable,
# :recoverable,
:registerable,
:rememberable,
# :timeoutable,
:trackable,
:validatable,
)
2018-11-29 18:26:48 -05:00
rolify role_join_table_name: 'user_roles'
2018-11-30 03:28:40 -05:00
has_many :passport_confirmations, dependent: :restrict_with_exception
2018-11-29 15:57:57 -05:00
end