title: Rails 3 delete all elements of an array
body: <p>I am trying to delete an array of users but the way I have it it is deleting one by one. Is there a better way to do it?</p>
  
  <p>My code is:</p>
  
  <pre><code>@users ||= User.where("clicks_given - clicks_received &lt; ?", -5).to_a
  @users.each do |user|
    user.destroy
  end
  </code></pre>