Can some suggest me how to pick uniq hash value with one more condition : Eg:

    h = [{:a=>"Hello", :b=>false}, {:a=>"Hello", :b=>true}, {:a=>"H1", :b=>false}]

I want to get unique values based on key "a" and also the value of b should be true

If I use `h.uniq {|hash| hash.values_at(:a)}` -> This will fetch the first uniq hash, where as I want the hash with b should be true

    [{:a=>"Hello", :b=>false}, {:a=>"H1", :b=>false}]

I want this one as end result `[{:a=>"Hello", :b=>true}, {:a=>"H1", :b=>false}]` instead of  `[{:a=>"Hello", :b=>false}, {:a=>"H1", :b=>false}]`.


