rails/rails — pull request #4227 by gazay (2011-12-29 02:34:31+00:00)
Title: 3 2 stable marshalling

@tenderlove the problem was in rescue for ArgumentError when class serialized with :: on the end. So I fixed it with adding TypeError type of exception to the rescue for marshalling not marshalled values. All tests pass for me.