title: :select with find_in_batches in rails
body: <p>How can I include a :select clause with find_in_batches. The following throws an error " Mysql::Error: Unknown column 'users.id' in 'field list': .</p>
  
  <pre><code>Post.find_in_batches(:batch_size =&gt; 100, :select =&gt; "users.id, users.name, categories.name, posts.id", :include =&gt; [:user, :category]) do |group|
  #stuff with group
  end
  </code></pre>