Merge pull request #13886 from arthurnn/fix_relation_arel

Fix regression on .select method
Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
	activerecord/test/cases/adapter_test.rb