title: Rails, SQL Where Both Columns Match for !=
body: <p>This returns records with both conditions.</p>
  
  <pre><code>Vote.where('id = 1 AND type = 'Temp')
  </code></pre>
  
  <p>This actually returns records with OR/Either columns.
  How do I write this so that id and type both have to match (!=)</p>
  
  <pre><code>Vote.where('id != 1 AND type != 'Temp')
  </code></pre>
  
  <p>Here is the direct sql</p>
  
  <pre><code>SELECT * FROM ridcySemantic_development.votes WHERE (id!=4 AND answer_id!=71);
  </code></pre>