Tim Brandes


810 Experience
8 Lessons Completed
0 Questions Solved


Posted in How to use Devise with Hotwire & Turbo.js Discussion

If you're getting a

ActionView::Template::Error (undefined method `turbo_frame_tag' ...

in Production, make sure to set

config.parent_controller = 'Users::DeviseController'

and extract the

class TurboController < ApplicationController

into app/controllers/users/devise_controller.rb.
See also the hotwire-devise Repo for the source code!

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.