9c7146820c
Sessions helper methods, login and signup modals, load partial views with stimulus Situmuls usersController, Create and Destroy user sessions
9 lines
143 B
Ruby
9 lines
143 B
Ruby
# frozen_string_literal: true
|
|
|
|
class User < ApplicationRecord
|
|
validates_uniqueness_of :username
|
|
has_secure_password
|
|
|
|
has_many :links
|
|
end
|