On Ruby on Rails 6; I'm trying to remove the session cookie. The cookie was needed for a short while to contain a flash message though a redirect and once the flash message is done, I want to remove the cookie completely. No resets, I want the cookie gone.
I've tried
session.clear
session.destroy
cookies.delete cookie_name.to_sym
Is there a way to delete the session cookie?