title: How to make a list of associative array in yaml
body: <p>I'm trying to store some configuration variables in yaml represented as an associative array aka dictionary.
  Here is how I did:</p>
  
  <pre><code>content_prices:                                                                                                                                                                                                                               
    - {country: AU, price: 6990000}                                                                                                                                                                                                             
    - {country: AT, price: 4990000}                                                                                                                                                                                                             
    - {country: BE, price: 4990000}  
  </code></pre>
  
  <p>This produce an exception when I try to parse it from my ROR init files:</p>
  
  <blockquote>
    <p>undefined method `symbolize_keys!' for nil:NilClass</p>
  </blockquote>
  
  <p>Here is how I init it:</p>
  
  <pre><code>Config = YAML.load_file("#{Rails.root}/config/prices.yml")[Rails.env].symbolize_keys!
  </code></pre>
  
  <p>I guess my yaml syntax is wrong, then how to write it properly ?</p>