class RuboCop::Cop::Rails::WhereExists
def find_offenses(node, &block)
def find_offenses(node, &block) if exists_style? where_exists_call?(node, &block) elsif where_style? exists_with_args?(node, &block) end end
def find_offenses(node, &block) if exists_style? where_exists_call?(node, &block) elsif where_style? exists_with_args?(node, &block) end end