how to sum the value of hashes in array with condition : I have a array of hashes like

`records = [{"number"=>5000, "status"=>true},
{"number"=>5000, "status"=>true},{"number"=>5000, "status"=>false}]`

I want to sum the value of number which status is true.
