collectiveidea/delayed_job — pull request #612 by splattael (2013-12-15 20:45:33+00:00)
Title: Fix YAML deserialization of anonymous structs

`DelayedJob` makes freedom patches of `Psych`'s `resolve_class` method.
It misses to guard this method from empty class names.

`Psych` does it:
https://github.com/tenderlove/psych/blob/2c644e18/lib/psych/class_loader.rb#L25

While deserializing an anonymous struct the class name is an empty
string (`""`). Constantizing an empty string resolves to `Object`.

This leads to this error:

#>

After this commit deserializing anonymous structs works again.