title: Ruby Hash Select
body: <p>I have a YAML file:</p>
  
  <pre><code>0:
    price: 0
    storage: 8
    instances: 1
    hours: 2
  1:
    price: 9.99
    storage: 8
    instances: 2
    hours: 25
  </code></pre>
  
  <p>I'm attempting to select all paid plans only as such:</p>
  
  <pre><code>@plans = YAML.load_file("#{Rails.root}/config/plans.yml")
  @paid_plans = @plans.select {|plan| plan[1]['price'] &gt; 0}
  </code></pre>
  
  <p>But it says</p>
  
  <pre><code>no implicit conversion of string into integer
  </code></pre>
  
  <p>What am I doing wrong?</p>