# Parsing yml file

**URL:** <https://www.ruby-forum.com/t/parsing-yml-file/129752>\
**Category:** Rails\
**Created:** [February 21, 2008, 9:53am UTC](https://www.ruby-forum.com/t/parsing-yml-file/129752 "2008-02-21T09:53:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@casid](https://www.ruby-forum.com/u/casid)\
**Post date:** [February 21, 2008, 9:53am UTC](https://www.ruby-forum.com/t/parsing-yml-file/129752/1 "2008-02-21T09:53:23Z")

</div>

Hello RoR developers

I have a .yml file like

template:

templatename1: template\_of\_roster.xml  
templatename2: template\_of\_roster1.xml  
templatename3: template\_of\_roster2.xml  
templatename3: template\_of\_roster3.xml

how can I get the template name to selection. I want to use them in  
selection  
however that when I delete one of it option names should be decrease.

thank you for any help.
