Merge pull request #11971 from freerunningtechnologies/dynamic_respond_to

Performance regression in AR::Base.respond_to?

Related with #12120

Conflicts:
	activerecord/test/cases/finder_respond_to_test.rb