Defines the return type of select / select_all method.
Added some usage about ActiveRecord::Result [ci skip]
Merge pull request #11461 from kennyj/fix_11454

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