My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 6: Saving bools as strings in config.yml
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by jamiemwi...@gmail.com, Mar 6, 2008
What steps will reproduce the problem?
1. With the hydra admin section change the "invite_only" option to false
(without any quotes)
2. It will be saved to config.yml as a String, "false" (with the quotes),
which will satisfy "if C[:invite_only]"
3. Need to edit the config.yml file manually and change "false" to just
false (with no quotes)

What is the expected output? What do you see instead?
Should force the value to a bool when loading config, or save values
correctly -- I believe YAML does not require quotes at all


 

Powered by Google Project Hosting