# Loading config items dynamically with YAML?

**URL:** <https://www.ruby-forum.com/t/loading-config-items-dynamically-with-yaml/119230>\
**Category:** Rails\
**Created:** [November 5, 2007, 8:00am UTC](https://www.ruby-forum.com/t/loading-config-items-dynamically-with-yaml/119230 "2007-11-05T08:00:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecccb3/32.png) [@chirag](https://www.ruby-forum.com/u/chirag)\
**Post date:** [November 5, 2007, 8:00am UTC](https://www.ruby-forum.com/t/loading-config-items-dynamically-with-yaml/119230/1 "2007-11-05T08:00:38Z")

</div>

I would like to store some config items (headings for UI tabs) and  
load them dynamically at runtime. I thought about storing them in YAML  
files. But I’m not sure how to load and parse the YAML efficeintly?

The YAML file would include partials that would be used for the  
heading.

Is there a better way outside of YAML files?

Thanks,  
Chirag
