Skip to content

Fix for missing AllowedReceivers

Ash McKenzie requested to merge ashmckenzie/fix-rubocop into main

Description

This MR serves as an example of how to fix the failing rubocop CI job when the uninitialized constant RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::AllowedReceivers error appears.

Suggested version bump

  • Major (backwards incompatible changes)
  • Minor (backwards compatible changes)
  • Patch (API compatible changes)

Checklist

  • Tests have been added or updated to cover any changes in behavior
  • This does not change the API to consume this library, or a suggested version bump has been provided
  • The CHANGELOG.md has been updated
  • No new runtime dependencies have been introduced

Merge request reports