[Ruby on Rails] ActionDispatch::Cookies::CookieOverflow error
In Ruby on Rails, when I stuffed a large amount of strings into flash, an ActionDispatch::Cookies::CookieOverflow error occurred.
Raised when storing more than 4K of session data.
The solution is to replace sessions with ActiveRecord, Redis, or similar instead of using Cookies.
・Ruby on Rails ActionDispatch::Cookies::CookieOverflow error - WILT
That’s all from the Gemba.