Rails 3 ActionDispatch::Cookies::CookieOverflow


ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow): Problem in rails 3 devise.


The problem is with session["devise.facebook_data"] = env["omniauth.auth"]. Twitter's response contains an extra section that is very large and does not fit in the session. One option is to store env["omniauth.auth"].except("extra") in the session instead.

This is issue arises where we are storing more than 4K of session data.

Comments

Popular posts from this blog

upgrade to rails 4 and ruby 2

Swap primary keys between two records in the same table in Postgres

How to write stored procedure in rails 3