title: Update value of key of a yaml file in ruby on rails
body: <p>I have a yml file with some key value.</p>
  
  <pre><code>age: 24
  Name: XYZ
  </code></pre>
  
  <p>I want code to update the value of "Name" key from XYZ to ABC?
  How can i do it?</p>