dawarich/app/models/user.rb

11 lines
365 B
Ruby
Raw Normal View History

class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :validatable
2024-03-15 18:27:31 -04:00
has_many :imports, dependent: :destroy
has_many :points, through: :imports
2024-03-23 15:29:55 -04:00
has_many :stats
end