Fixes #11454. We should define the return type of select_all method clearly.

Now `select_all` and `select` methods return an ActiveRecord::Result instance.
I think we should define the return type of select_all method clearly, and fix related comments.