title: How to search an array in Ruby?
body: <p>Say I have an array of strings</p>
  
  <pre><code>arr = ['sandra', 'sam', 'sabrina', 'scott', 'mark', 'melvin']
  </code></pre>
  
  <p>How would I search this array just like I would an active record object in Rails. For example, the query "sa" would return <code>['sandra', 'sam', 'sabrina']</code>.</p>
  
  <p>Thanks!</p>