title: How to get nil object when there is no record for a specific value in where clause in rails
body: <p>Currently, i am fetching the user records by using phone number field in Where query in rails like below.</p>
  
  <pre><code>users = User.where(phone: ["123421341234", "123423144", "123423144","444633333",,,,,,,,,,,,])
  </code></pre>
  
  <p>i have the user records, for the first three mobile numbers. But for the 4'th mobile number(444633333), there is no user record in the table, so for this user i want to get the "nil" object.(if user exists then the user object should be returned)</p>
  
  <p>How can i change the above query. the resultant array should contain the objects in the sequence(in the search array sequence)</p>