When I try to sign up with devise, it automatically redirects to root_path

Conclusion

Set not to display the new registration and login links when logging in. It's important to refresh or talk to people because you can't get out of it if you think about the same things that you can clearly understand.

phenomenon

When I tried to sign up with devise, I was automatically redirected to root_path. ~~ For some reason, I was able to go to the new registration page after deleting what was saved in the database. ~~

When observing the terminal that launches ~~ rails s, Redirected to http://localhost:3000/ There was a character. ~~ ~~ Actually, when I clicked on new registration, I could see the URI being displayed for a moment. ~~

It is thought that you cannot log in twice. Naturally.

Recommended Posts

When I try to sign up with devise, it automatically redirects to root_path
When I try to install gempg it says I don't have libpq-fe.h
When I try to use the AWS SDK with Ruby + Lambda, `sam local` is messed up.
Rubocop gets angry when I try to fill zeros (fill 0s) with Ruby
When I tried to use a Wacom tablet with ubuntu 20.04, I didn't recognize it.
When I tried to support IPv6 easily with Docker-proxy, I couldn't do it before I knew it.
I tried what I wanted to try with Stream softly.
Things to check when it doesn't work with proguard
Transit to confirmation page when logging out with devise
Automatically deploy to WildFly with Jenkins when SVN commits
I want to authenticate users to Rails with Devise + OmniAuth
roman numerals (I tried to simplify it with hash)
When I tried to scroll automatically with JScrollBar, the event handler was drawn only once.
When I tried to run Azure Kinect DK with Docker, it was blocked by EULA
I was addicted to setting default_url_options with Rails devise introduction
[Terraform] When I try to build an Azure resource on a Windows machine, it will time out, so I solved it with Docker.
I want to manually send an authorization email with Devise
The story I was addicted to when setting up STS
Is it possible to automatically generate Getters / Setters with Java Interface?
When I try to put centos in VMware, pane is dead
When I push to Heroku, I get angry with Precompiling assets failed.
Try to speed up Java console program startup with GraalVM native-image
What I did when the DB did not start with docker-compose up
I get a Ruby version error when I try to start Rails.
What I was addicted to when implementing google authentication with rails
[Introduction to JSP + Servlet] I played with it for a while ♬
6 points to doubt when user registration is not possible with devise
[Rails] I want to add data to Params when transitioning with link_to