set up rails
This commit is contained in:
parent
3854b1edfe
commit
1e2aecc21c
138 changed files with 9829 additions and 53 deletions
9
app/models/user.rb
Normal file
9
app/models/user.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue