class RuboCop::Cop::Rails::DynamicFindBy

def allowed_invocation?(node)

def allowed_invocation?(node)
  allowed_method?(node) || allowed_receiver?(node) ||
    whitelisted?(node)
end