title: Rails4 validation uniqueness scope check for more than two condition
body: <p>I have following validation for my email in the model </p>
  
  <pre><code>:uniqueness =&gt; { :scope =&gt; :company_id, :message =&gt; "Email has already been taken" }
  </code></pre>
  
  <p>How to give two scope condition for validating uniqueness</p>
  
  <p>:uniqueness => { :scope => <code>:company_id and :status =&gt; 0</code>, :message => "Email has already been taken" }</p>