Suddenly, in my first Rails application, I began to see this error:
/!\ FAILSAFE /!\ Fri Sep 11 17:30:48 -0400 2009 Status: 500 Internal Server Error ActionController::Session::CookieStore::CookieOverflow
Several studies point to the use of cookies to store session data, but I am not doing this (at least not intentionally). Moreover, it has just begun today. The only thing that I started working today is the ability to download a zip file. The zip file I'm trying to use for testing is 1.1 MB.
In addition, Firebug only shows 2 cookies for this domain. The one called _html_session is 507B, and one called user_credentials is 147B. Are temporarily downloaded files saved in such a way that it can cause a large file? Uploading a single image is very simple.
Thank you for your help.
UPDATE:. Contrary to my comments on Vitaliy and Sijo below, the error is not entirely instantaneous. In this case, I load something into my Image model, and an error occurs when my ImagesController calls @image.save! .
Interestingly, I still do not understand where the error occurs. I created the Image#before_validation method Image#before_validation an exception there, but a CookieOverflow error occurs before I ever get there. Is there a place where I can reset the code after the controller completes the save call and before that specific callback? I understand that before_validation is the first callback.
ruby-on-rails
Rob wilkerson
source share