title: no block given error
body: <p>Rails guide: <a href="http://guides.rubyonrails.org/active_record_querying.html" rel="nofollow">http://guides.rubyonrails.org/active_record_querying.html</a> says that I can use find_each to limit the number of rows returned by ActiveRecord. It also says that I do not have to specify a start and that the default order is ASC. In this case, I would not really be able to specify a start, as the index is a twitter ID.</p>
  
  <p>This is what I have in my controller, in the index method:</p>
  
  <pre><code>@user = User.find_each(:batch_size =&gt; 100)
  </code></pre>
  
  <p>But when Rails tries to render the view, I get the following message:</p>
  
  <pre><code>no block given (yield)
  </code></pre>
  
  <p>Which tells me that Rails wants me to provide a block (as in a starting point and and end point).</p>
  
  <p>Any ideas?</p>