Merge pull request #13264 from laurocaetano/fix_dynamic_finder_with_reserved_words

Prevent invalid code when using dynamic finders with reserved ruby word.
Conflicts:
	activerecord/test/cases/finder_test.rb