title: How to make active record queries when attributes uses enumerize
body: <pre><code>class AppointmentResponse &lt; ActiveRecord::Base
  ...
    extend Enumerize
    enumerize :status, in: %i[unreviewed approved rejected], default: :unreviewed
  ...
  end
  </code></pre>
  
  <p>Migration:</p>
  
  <pre><code>def change
     add_column :appointment_responses, :status, :string
  end
  </code></pre>
  
  <p>So with this, my thinking is that I should be able to make queries like:</p>
  
  <pre><code>AppointmentResponse.where(status: :unreviewed)
  </code></pre>
  
  <p>But this returns: []</p>
  
  <p>But I know that to be false. Exibit A: </p>
  
  <pre><code> #&lt;AppointmentResponse:0x007feb02c5d290
    id: 16,
    ...
    status: "unreviewed"&gt;
  </code></pre>
  
  <p>And I can confirm that I haven't made some terrible character error by:</p>
  
  <pre><code>AppointmentResponse.last.status == "unreviewed"
  
  true
  
  </code></pre>
  
  <p>What am I missing? I've also switched <code>extend Enumerize</code> to <code>include Enumerize</code>. It's still the same. I've also tried adding 
  <code>scope: true</code> and <code>predicates: true</code>, still no. I know Enumerize works with active record. What am I doing wrong?</p>