psych
psych copied to clipboard
Arabic encoding issue with serialize nasted object
I had application using psych as yaml engine with ruby v 2.1.1 and rails 3.2
the old version of rub 1.9.4 is working fine with nested arabic object with YAML::ENGINE.yamler= 'syck'
but the meta_data in ruby 2.1.1
Here the meta_data object inside section model is serialize :meta_data
and in my boot.rb is using YAML::ENGINE.yamler= 'psych'
the meta_data stored in mysql as yaml object.