[RUBY] Check the operation of two roles with a chat application


I developed a chat application with rails. I opened two windows in my browser and tried to check the operation, but it didn't work. Specifically, I logged in with user A in one window and user B in the other window, and tried to check whether the comments posted by user A were reflected in user B's window. However, when I logged in as user A in one window and then logged in as user B in the other window, both windows were logged in as user B, and I couldn't do what I wanted to do.


By launching one in a normal window and the other in secret mode, I was able to do what I wanted without the windows interfering with each other.

Recommended Posts

Check the operation of two roles with a chat application
A memo that containerizes the simple chat application of Node.js + socket.io
I tried to check the operation of gRPC server with grpcurl
Check the operation using jetty with Maven.
Check the operation of the interface through threads
Create a Jar file with two lines of command
The story of making a reverse proxy with ProxyServlet
Check the behavior of Java Intrinsic Locks with bpftrace
Check the result of generic parameter inference with JShell
Roughly the flow of web application development with Rails.
Check the rate limit application status of docker pull
I tried to check the operation of http request (Put) with Talented API Tester
Story of making a task management application with swing, java
Check the dependency of a specific maven artifact in Coursier
The first WEB application with Spring Boot-Making a Pomodoro timer-
A story packed with the basics of Spring Boot (solved)
Check the status of Java application without using monitoring tool
Explain the benefits of the State pattern with a movie rating
Find the number of days in a month with Kotlin
Graph the sensor information of Raspberry Pi in Java and check it with a web browser
The basics of the process of making a call with an Android app
The story of the first Rails app refactored with a self-made helper
Try to imitate the idea of a two-dimensional array with a one-dimensional array
I tried running a letter of credit transaction application with Corda 1
A story about hitting the League Of Legends API with JAVA
A story that struggled with the introduction of Web Apple Pay
[Illustration] Finding the sum of coins with a recursive function [Ruby]
Let's create a TODO application in Java 5 Switch the display of TODO
How to check for the contents of a java fixed-length string
Deploy a Docker application with Greengrass
[Rails] Check the contents of the object
Check the version of Cent OS
Check the migration status of rails
Build a web application with Javalin
A memorandum of the FizzBuzz problem
I tried to make a machine learning application with Dash (+ Docker) part1 ~ Environment construction and operation check ~
Perform a large amount of csv export (output) of log information etc. on the WEB application with Rails application
Make a daily build of the TOPPERS kernel with Gitlab and Docker
Android application: Let's explain the mechanism of screen transition with simple code
The story of making a game launcher with automatic loading function [Java]
How to check before sending a message to the server with Spring Integration
Let's express the result of analyzing Java bytecode with a class diagram
Check the domain by checking the MX record of the email address with java
(Note) Get a set of dependent library jars with the help of Gradle
Create a jar file with the command
Check the contents of the Java certificate store
Create a simple web application with Dropwizard
Bitwise operation of binary value with BigInteger
Memo: [Java] Check the contents of the directory
About the operation of next () and nextLine ()
Run a DMN with the Camunda DMN Engine
Extract a part of a string with Ruby
Check the processing contents with [rails] binding.pry
Rails Basics of creating a new application
About the treatment of BigDecimal (with reflection)
Format the contents of LocalDate with DateTimeFormatter
Check the version of the standard Web software.
[Java] Check the number of occurrences of characters
Find the difference from a multiple of 10
Build TensorFlow operation check environment with Docker
Let's make a calculator application with Java ~ Create a display area in the window