Anyone know what test_with_limiting_with_custom_select is testing

finder_test.rb (in active_record) has this test:

def test_with_limiting_with_custom_select
   posts = Post.find(:all, :include => :author, :select => ' posts.*, authors.id as "author_id"', :limit => 3, :order => 'posts.id')
   assert_equal 3, posts.size
   assert_equal [0, 1, 1], posts.map(&:author_id).sort
end

But what is it testing (given that :include overwrites the select option) ? If the select wasn't ignored then the test would fail as the author_id from posts would be overwritten by the one from the select, ie the post with author_id 0 would get an author_id of NULL (which I found out precisely because I have altered old-skool include not to squash :select)

Fred

d'oh sent to wrong list. Nothing to see here, move along ...

Fred