Skip to content

Add `BackgroundMigrationRecord` cop to avoid `ActiveRecord::Base`

Kamil Trzciński requested to merge background-migration-record-cop into master

The cop discovers using models with ActiveRecord::Base and asks to change it to ApplicationRecord instead to ensure that correct connection is used.

Related:

Edited by Kamil Trzciński

Merge request reports