Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow up rubocop/rubocop#13242 This commit removes the following redundant `source_range` to suppress new RuboCop offenses: ```console $ bundle exec rake (snip) Offenses: lib/rubocop/cop/rails/redundant_foreign_key.rb:43:44: C: [Corrected] InternalAffairs/RedundantSourceRange: Remove the redundant source_range. add_offense(foreign_key_pair.source_range) do |corrector| ^^^^^^^^^^^^ lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb:81:34: C: [Corrected] InternalAffairs/RedundantSourceRange: Remove the redundant source_range. add_offense(receiver.source_range) do |corrector| ^^^^^^^^^^^^ lib/rubocop/cop/rails/reflection_class_name.rb:46:47: C: [Corrected] InternalAffairs/RedundantSourceRange: Remove the redundant source_range. add_offense(reflection_class_name.source_range) do |corrector| ^^^^^^^^^^^^ lib/rubocop/cop/rails/request_referer.rb:37:30: C: [Corrected] InternalAffairs/RedundantSourceRange: Remove the redundant source_range. add_offense(node.source_range) do |corrector| ^^^^^^^^^^^^ 296 files inspected, 4 offenses detected, 4 offenses corrected ```
- Loading branch information