Once upon a time, I get this error after loading large data into my Rails application.
marshal data too short
After searching through some sites and forums, I find a way that works for me. And it should works for you too if you're using Sessions table in your application database. Here is the way to solve that error.
- Open your phpMyAdmin or your MySQL command line
- Find the database used by your Rails application and if you're using command line, change to that database.
- Look for Sessions table and change the data type for data column from text into longtext