Install and configure Devise for user authentication #149

Merged
bustikiller merged 9 commits from devise into main 2024-11-30 17:50:43 +00:00
6 changed files with 12 additions and 0 deletions
Showing only changes of commit 13bdaf0bd2 - Show all commits

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
# == Schema Information
#
# Table name: users

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
# frozen_string_literal: true
# Assuming you have not yet modified this file, each configuration option below

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
# frozen_string_literal: true
class DeviseCreateUsers < ActiveRecord::Migration[8.0]

2
db/schema.rb generated
View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
FactoryBot.define do
factory :user do

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
require 'rails_helper'
RSpec.describe User, type: :model do