Added a note about YAML merges and Psych #22

1 commit merged into from Jan 6, 2012
Jump to file or symbol
Failed to load files and symbols.
+6 −0
@@ -65,6 +65,12 @@ Using a namespace allows us to change our configuration depending on our environ
<<: *defaults
+_Note_: Certain Ruby/Bundler versions include a version of the Psych YAML parser which incorrectly handles merges (the `<<` in the example above.)
+If your default settings seem to be overwriting your environment-specific settings, including the following lines in your config/boot.rb file may solve the problem:
+ require 'yaml'
+ YAML::ENGINE.yamler= 'syck'
=== 3. Access your settings
>> Rails.env