How to debug cookies in Rails and how to solve CookieOverflow issue
Rails CookieOverflow strikes when a cookie exceeds 4096 bytes. How to inspect cookies in Chrome dev tools, read the session dump on the error page, and use the cookie_debugger gem to log exactly which session key is eating the space, even in production.
Feb 8, 2023