title: Group Hash by values in ruby
body: <p>I have a hash in ruby which looks something like this:</p>
  
  <pre><code>{
    "admin_milestones"=&gt;"1",
    "users_milestones"=&gt;"0",
    "admin_goals"=&gt;"1",
    "users_goals"=&gt;"0", 
    "admin_tasks"=&gt;"1", 
    "users_tasks"=&gt;"0",
    "admin_messages"=&gt;"1",
    "users_messages"=&gt;"0",
    "admin_meetings"=&gt;"1",
    "users_meetings"=&gt;"0"
  }
  </code></pre>
  
  <p>I am trying to lookout for a solutions which can cut this hash in to two parts, one with value as 1 and other hash with value as 0.</p>