Trying to get log4j2 section form values.yml using toYaml but it does not retain the order. output- Expected output- ...
Trying to get log4j2 section form values.yml using toYaml but it does not retain the order. output- Expected output- ...
I'm trying to generate a hash in yaml format, but by default, this method always adds --- in front of the object. ...
I have a YAML file containing: I want to parse it and break the description into key1 and key2 like so: But, for some reason, I cannot do this c ...
The to_yaml method produces nice YAML output, but I would like to include comment lines before some of the elements. Is there a way to do so? For exa ...
I want to check the form data received from the form in ruby on rails controller. I tried this but nothing is shown: where @user is the form name( ...
I'm trying to use y object in Rails 3.2.6/Ruby 1.9.3 console to get nicely formatted yaml output for an ActiveRecord object, but for some reason it is ...
I get a strange issue on the server as below /!\ FAILSAFE /!\ Wed Apr 25 19:35:13 +0000 2012 Status: 500 Internal Server Error can't dump anonymous ...
I want to store some configuration information about a few apps so I can make an 'app drawer'. I store the info in an array that looks like this - ...
Can I limit the recursion depth of PP.pp or to_yaml in Ruby? If not is there another function I can use? ...
Then, how to make the 'to_yaml' generate original looking: "你好", I mean not something like '\XE4' Or, is there anyway to change the 'to_yaml' re ...
According to the YAML documentation it's possible to pass a hash of options to the .to_yaml method. Currently when I pass the options as suggested by ...
How can I make ruby to_yaml method to store utf8 strings with original signs but not escape sequence? ...