Add users controller
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-14 16:37:21 +01:00
parent 50280ce389
commit 026bda2a99
14 changed files with 110 additions and 6 deletions

View File

@@ -4,4 +4,6 @@ class User < ApplicationRecord
has_secure_password
normalizes :email_address, with: ->(e) { e.strip.downcase }
validates :username, presence: true, uniqueness: true
end