Ruby on Rails #74 Make Devise work with Rails 7 and Turbo

18/04/2022 (almost 2 years ago)
·

The simplest way to make Devise work well with Rails 7 and Turbo without writing and overwhelming code.
We will treat it as an HTML problem.
All you need to do is disable turbo explicitly in the devise views.
Just add data: { turbo: false }. That's it.

Text description: https://blog.corsego.com/turbo-devise

Episode source code: https://github.com/corsego/74-rails7-devise

I've also updated the Devise Wiki: https://github.com/heartcombo/devise/wiki/Troubleshooting-Rails-7-and-Turbo-Drive

Gem devise: https://github.com/heartcombo/devise#getting-started


0
Sign in to join the conversation