I just noticed a problem that seems to be related to the way R18n loads YAML.
#YAML::ENGINE.yamler = 'syck'
#YAML::ENGINE.yamler = 'psych'
taguri: ! '!ruby/object:String'
If the yamler is set to either syckor psychafter loading R18n, everything works fine.
Running ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0] with r18n-core (1.1.0)
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
I try to find fix tonight.
thanks @ai for the fast reply. This is not urgent to me. Adding the YAML::ENGINE.yamler = 'psych'after require is an acceptable workaround for the moment.
YAML::ENGINE.yamler = 'psych'
OK, I will look later :).
Fixed 86d3a8f. to_yaml become to be broken by require 'syck'. Now R18n doesn’t change YAML parser (and have cleaner code in common and Rails YAML parsers :) ).
Confirmed. Everything is fine since the release of r18n-core (1.1.1). Thanks