# YAML and Saving

**URL:** <https://www.ruby-forum.com/t/yaml-and-saving/122597>\
**Category:** Rails\
**Created:** [December 10, 2007, 12:59am UTC](https://www.ruby-forum.com/t/yaml-and-saving/122597 "2007-12-10T00:59:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhinomist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8dc957/32.png) [@rhinomist](https://www.ruby-forum.com/u/rhinomist)\
**Post date:** [December 10, 2007, 12:59am UTC](https://www.ruby-forum.com/t/yaml-and-saving/122597/1 "2007-12-10T00:59:15Z")

</div>

Hey, I have a quick question on using YAML or saving persistant-data  
types. I have to write a class-level save method for the album class  
that saves an @@album\_list followed by .alb, as well as saving an  
@@tag\_list as tag\_list.tags. How does YAML work, or what is the easiest  
way to do this? What is the idea behind it?
