Not related to the other two
This commit is contained in:
@@ -3,6 +3,7 @@ class User < ApplicationRecord
|
||||
|
||||
has_many :sessions, dependent: :destroy
|
||||
has_secure_password validations: false
|
||||
|
||||
has_one_attached :avatar
|
||||
|
||||
has_many :comments, inverse_of: :creator, dependent: :destroy
|
||||
|
||||
Reference in New Issue
Block a user