RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How Rails Flash Survives One Redirect

Rails flash messages are request-to-request state, not view-level notices. This article traces how flash, flash.now, flash.keep, and flash.discard work through the session, and why messages leak, disappear, or bloat CookieStore sessions.

URL: https://railsrevelry.substack.com/p/how-rails-flash-survives-one-redirect?r=4jsb

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in