rails/rails — pull request #4196 by gazay (2011-12-26 18:35:06+00:00)
Title: 3.2 stable marshalling

It's relates to issue https://github.com/rails/rails/issues/4042

In rails 3.1 and earlier values in entries did not marshaled without options[:compress] and if it's Numeric.
But after commit a263f377978fc07515b42808ebc1f7894fafaa3a all values in entries are marshalled. And after that code in ActiveSupport::Cache::Entry#value expects that all values in entries will be marshaled (and will be strings). So here we need a check for old ones.

Should I make a patch for master?