Skip to content

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

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 (Back 2025-01-01)

Merge request reports

Loading