[Fix #4967] Fix `Rails/DynamicFindBy` false-positives on non ActiveReord by koic · Pull Request #4993 · rubocop/rubocop

Fixes #4967. This PR applies Rails/DynamicFindBy cop only to receiver classes that inherit ActiveRecord::Base class. Before submitting the PR make sure the following are checked: Wrote good comm...