title: How do I use YAML in ruby/rails?
body: <p>I have a list of accounts I want to save as a YAML file and load it into ruby.  Something like this:</p>
  
  <blockquote>
  <pre><code>Account1
    John Smith
    jsmith
    jsmith@gmail.com
  Account2
    John Doe
    jdoe
    jdoe@hotmail.com
  </code></pre>
  </blockquote>
  
  <p>Then I want to get the email address of the person with the name of "John Doe" (for example).</p>
  
  <p>How do I do this?</p>