Add new `Rails/RedundantReceiverInWithOptions` cop by koic · Pull Request #5185 · rubocop/rubocop
Feature This cop checks for redundant receiver in with_options. Receiver is implicit from Rails 4.2 or higher. Bad case class Account < ApplicationRecord with_options dependent: :destroy do |a...