Usually, Rails sends a Set-Cookie
header in the response. To disable that:
after_action -> { request.session_options[:skip] = true }
Aug 15, 2025
Usually, Rails sends a Set-Cookie
header in the response. To disable that:
after_action -> { request.session_options[:skip] = true }