d_dnara
Joined
2,660 Experience
26 Lessons Completed
0 Questions Solved
Activity
Posted in How to upgrade to Rails 7.1 Discussion
I did not like how you managed the git. It could be a total business disaster :(
Brilliant solution Chris! This is the cleanest lines of code I've ever seen for using stimulus dynamic select!
don't use link_to. user button_to. I removed rails-ujs btw
I put method: :delete on the logout link_to, but I don't know why it does "GET"
In addition, I have multiple devise model and scope it like below:
devise_scope :user do
authenticated :user do
I can not log out on Devise!
No route matches [GET] "/users/logout"
routes.rb
devise_for :users, path: 'users',
path_names: {sign_up: 'signup', sign_in: 'login', sign_out: 'logout'},
controllers: {
confirmations: 'users/confirmations',
sessions: 'users/sessions',
registrations: 'users/registrations'
}