Archive for July 7th, 2008

How to read YAML file

Monday, July 7th, 2008

This is code that i just implement into my rails code. Actually this is how to read data in YAML file and implement it into rails code. 1. Create your yaml file in config/yourfilename.yml. Example : let say we want read username and password from yaml file below. 2. How to load yaml ...