My orginal hash is like as hash = {"sku_id"=>[4], "brand_active"=>["true"], "salesman_active"=>["true"]}
How to remove the array within hash. that means to convert the hash like
{"sku_id"=>4, "brand_active"=>"true", "salesman_active"=>"true"}
views:
44answers:
2+1 for functional programming
Wayne Conrad
2010-09-02 19:21:19