title: PostgreSQL ilike with multiple matches in Rails ActiveRecord
body: <p>I am trying to retrieve multiple records from my DB with the following query:</p>
  
  <pre><code>User.where('name ilike ?','%thomas%')
  </code></pre>
  
  <p>this works fine. Now I want to retrieve multiple records at the same time and tried this (which seems to be syntactically incorrect):</p>
  
  <pre><code>User.where('name ilike any',['%thomas%','%james%','%martin%'])
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>So just to clarify: I want to retrieve all records that match one of the names, so its an OR statement I am looking for.</p>