From: Florian Odronitz Date: 2010-01-07T19:16:38+09:00 Subject: Serialization ruby 1.8 vs ruby 1.9 Hi, I am trying to marshal objects with ruby 1.8 and read them with 1.9 but I get an error on date objects: ruby 1.8: f=File.new('/tmp/date', 'w+'); f.puts Marshal.dump(Date.today); f.close ruby 1.9: m=File.read('/tmp/date'); Marshal.load(m) gives me: class Date needs to have method `_load' (TypeError) The versions of Marshal are identical, but in 1.8, Date has a _dump and _load method, in 1.9 it does not. Am I missing something or is this a bug? Any hints are appreciated. Thanks, Florian -- Posted via http://www.ruby-forum.com/.