Install the Rails gem if you haven't done so before
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | require 'faker' | |
| # Create just users | |
| 100.times do | |
| user = User.new( | |
| first_name: Faker::Name.name_with_middle, | |
| last_name: Faker::Name.name_with_middle | |
| email:Faker::Internet.free_email | |
| password: Faker::Internet.password | |
| ) | |
| user.save! | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | bundle add devise | |
| bundle install | |
| rails g devise:install | |
| class TurboDeviseController < ApplicationController | |
| class Responder < ActionController::Responder | |
| def to_turbo_stream | |
| controller.render(options.merge(formats: :html)) | |
| rescue ActionView::MissingTemplate => error | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Layout/AccessModifierIndentation: | |
| Enabled: true | |
| Layout/AlignHash: | |
| Enabled: true | |
| EnforcedColonStyle: key | |
| EnforcedLastArgumentHashStyle: always_inspect | |
| Layout/AlignParameters: | |
| Enabled: true | 
