title: Why did my Rails find query select all records?
body: <p>I ran some code along these lines:</p>
  
  <pre><code>MyUserModel.find([id1, id2, id3]) do |record| send_email(record) end
  </code></pre>
  
  <p>As you can see, I forgot to include <code>.each</code> after the <code>find</code>.  This seems to have resulted in <code>send_email</code> being called on <strong>every record</strong> in the <code>my_user_model</code> table.  I don't understand why this happened.  Can someone explain?</p>
  
  <p>I'm new to ruby and rails, so I assume I'm just not understanding something about how blocks work or something like that.</p>