set up rails

This commit is contained in:
jane 2021-11-12 22:20:13 -05:00
parent 3854b1edfe
commit 1e2aecc21c
138 changed files with 9829 additions and 53 deletions

9
app/models/user.rb Normal file
View file

@ -0,0 +1,9 @@
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :validatable,
:trackable, :confirmable
has_many :authorized_applications, dependent: :destroy
end