# File lib/dragonfly/serializer.rb, line 25 def marshal_decode(string) Marshal.load(b64_decode(string)) rescue TypeError, ArgumentError => e raise BadString, "couldn't decode #{string} - got #{e}" end