collectiveidea/delayed_job — Issue #335: Can't deserialize Class attributes with Ruby 1.8.7
Author: marcrohloff
Created: 2012-01-21 02:58:00+00:00
State: open

I am using Ruby 1.8.7 and am serializing a worker object that has a Class attribute. The attribute serializes correctly but does not serialize. This appears to be because Rails 1.8.7 only suppoerts the Syck parser and DJ only appears to provide support for the Psych parser. I assume that the issue would also happen with Ruby 1.9 if the Syck parser is configured.

The problem appears to be fixed by including the necessary parts from the yaml_ext.rb file from v2.1