title: Delete records with a column value from an array in Ruby on Rails
body: <p>I have a column called school_id in a table called records.</p>
  
  <p>Now I have an array of school_ids and I want to delete all the records that has the following ids that belong to the array.</p>
  
  <p>The question is, is there a way to do it with just one line of command? Like:</p>
  
  <p>Record.delete_all(:school_id => [1, 2, 3, 4])?</p>
  
  <p>Right now I'm doing a looping here and as much as possible I'm trying to simplify that part. TIA</p>