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

Fixes #11454.

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.