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!

When a database restore signs you in as someone else

Rails 8’s authentication generator mixes up users after a database restore: cookies that were already in browsers start resolving to other people’s sessions. Write-up with a comic, a demo that runs in your browser, and a PR with the fix: https://msg.samsonov.io/2026-09-30-when-a-database-restore-signs-you-in-as-someone-else/

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