title: Or conditions in mongoid
body: <p>I have two queries,</p>
  
  <p><code>Post.where(:group_id.in => group_ids, :deleted => false)
  Post.where(:user_id=>user.id,:deleted=>false)</code></p>
  
  <p>I need to combine these query using or condition.
  I tried like,</p>
  
  <p><code>Post.where(:deleted => false).or({:user_id=>user.id},{:group_id.in => group_ids})</code>
  and
  <code>Post.any_of({:group_id.in=>group_ids},{:user_id=>user.id})</code>
  but I didn't get results.</p>