Add GuestUser model

This commit is contained in:
Andrew Tomaka 2024-08-16 19:52:01 -04:00
parent 61f3d34653
commit 6d02dc280b
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
4 changed files with 23 additions and 3 deletions

3
app/models/guest_user.rb Normal file
View file

@ -0,0 +1,3 @@
class GuestUser
def registered? = false
end

View file

@ -1,3 +1,5 @@
class User < ApplicationRecord
has_secure_password
def registered? = true
end