# 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