I'm also removed the check if the YAML::ENGINE constant is defined
No need to check if YAML::ENGINE is defined since ruby 1.9 does that
No need to use rescue block to require psych
@rafaelfranca nice pull request but YAML::ENGINE.syck? is always false, you can remove everything there
Ok. I think that some place where we require psych is not needed because when we require yaml the psych is already loaded. I will remove this too.
>> require 'yaml'
>> require 'psych'
No need to override the to_yaml method in BigDecimal
No need to override the to_yaml method in ActiveSupporte::SafeBuffer
No need to override to_yaml method in ActiveSupport::OrderedHash
No need to override to_yaml method in ActiveSupport::TimeWithZone
No need to override to_yaml and yaml_initialize methods in ActiveReco…
No need to require psych since require yaml does that.