title: Multiple like conditions in active record
body: <p>I need to check my records against multiple like statements, what is the best way to do so? i.e. </p>
  
  <pre><code>names = ['alice', 'bob', 'mark']
  </code></pre>
  
  <p>I've got table lets say People in my database or (Peoples) so I want to select all people who have names such as those 3 above.</p>
  
  <p>found this answer :</p>
  
  <p><a href="https://stackoverflow.com/a/5333281/169277">https://stackoverflow.com/a/5333281/169277</a></p>
  
  <p>For using like but I couldn't figure out how to pass array of values instead of single values. any ideas?</p>
  
  <p><strong>UPDATE :</strong></p>
  
  <p>I need like because people have two names</p>