title: In Rails 4.1, how to find records by enum symbol?
body: <p>Assume I have this model:  </p>
  
  <pre><code>class Conversation &lt; ActiveRecord::Base
    enum status: [ :active, :archived ]
  end
  </code></pre>
  
  <p>How can I find all active conversations without using the numeric value of the enum or without having to iterate over each conversation?  </p>
  
  <p>I tried doing <code>Conversation.where(status: :active)</code>, but it didn't yield any results.  </p>
  
  <p>The only solution comes to mind is to iterate over all conversations and select the active ones, but it doesn't look like a good solution.</p>
  
  <pre><code>Conversation.all.select {|conversation| conversation.active? }  
  </code></pre>
  
  <p>Is there anything I can do about this?</p>