feat: Create users

Users migration, model, controller. user_id to links. signup view
This commit is contained in:
Juan Rodriguez
2021-06-14 08:24:34 -05:00
parent 3e8bdee17a
commit f63be42b4c
21 changed files with 159 additions and 21 deletions
+7
View File
@@ -0,0 +1,7 @@
# frozen_string_literal: true
class User < ApplicationRecord
validates_uniqueness_of :username
has_secure_password
end