blob: 27ff9b2b0c4a291270ddffab8fffad9c22210a68 (
plain)
1
2
3
4
5
6
7
8
|
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :rememberable
has_many :runs, dependent: :restrict_with_error
has_many :checkpoints, through: :runs
end
|