title: 2 Conditions in if statement
body: <p>I am trying to detect if the email address is not one of two domains but I am having some trouble with the ruby syntax. I currently have this: </p>
  
  <pre><code>if ( !email_address.end_with?("@domain1.com") or !email_address.end_with?("@domain2.com"))
    #Do Something
  end
  </code></pre>
  
  <p>Is this the right syntax for the conditions?</p>