Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
devise anycable substitution example
env['rack.session'] = ActionDispatch::Cookies::EncryptedCookieJar.new(cookies)[:_application_session]
current_user = Warden::SessionSerializer.new(env).fetch(:user)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment