taps icon indicating copy to clipboard operation
taps copied to clipboard

Rails serialized attribute hash saved as Syck::PrivateType

Open espen opened this issue 14 years ago • 3 comments

Field (Rails, attribute before type cast) in PostgreSQL locally: nil Field on Heroku after exporting with taps: #<Syck::PrivateType:0x00000006219e08 @type_id="null", @value="">

espen avatar Oct 03 '11 05:10 espen

I have the same problem. Do you have a workaround?

seanrucker avatar Oct 31 '11 06:10 seanrucker

Maybe it helps to clarify: http://lost-in-code.blogspot.com/2011/10/yaml-in-ruby-19.html

diogenes avatar Jan 05 '12 12:01 diogenes

@diogenes Yeah. Perhaps taps should specify psych as the YAML engine. YAML::ENGINE.yamler = "psych"

espen avatar Jan 06 '12 12:01 espen