When I serialize a hash containing UTF8 strings, for example:
poll.variants = {0 => '',1 => '--',2 => 'test # test "'}
in the ActiveRecord field, the resulting field contains:
Utf8 strings are for some reason treated as binary and base64. The mapping on the field is utf8_general_ci , and I'm a little disappointed.
Is there a way to make ActiveRecord: serialize readable barley in a field?
source share