title: Query on Mongoid Hash Field
body: <p>I want to query on a Hash field for a Mongoid Class. I'm not sure how I can do this with conditions?</p>
  
  <p>Here is an example:</p>
  
  <pre><code>class Person
    include Mongoid::Document
  
    field :things, :type =&gt; Hash
  end
  </code></pre>
  
  <p>So, let's say that I have this:</p>
  
  <pre><code>p = Person.new
  p.things = {}
  p.things[:tv] = "Samsung"
  </code></pre>
  
  <p>I want to query for the first person with a tv that is a Samsung...</p>
  
  <pre><code>People.first(:conditions =&gt; ?????
  </code></pre>
  
  <p>Thanks in advance.</p>