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

Insert Bulk data using active record import

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

How to add a bootstrap table with fixed header and scrollable body