Marshal Data too short error with Rails
I’m getting this never before seen error quite a bit all of a sudden:
/!\ FAILSAFE /!\ Tue Jan 12 20:28:40 -0800 2010 Status: 500 Internal Server Error marshal data too short
what helped in my case was to set the type of the ‘data’ column in the ’sessions’ table to ‘longtext’ (or ‘mediumtext’) instead of ‘text’:
class ChangeSessions2 < ActiveRecord::Migration def self.up execute "ALTER TABLE sessions CHANGE COLUMN data data LONGTEXT" end def self.down end end
Monitor Your Web Site 24/7 - Receive email and SMS alerts anytime your web site goes down.
