Skip to content

WIP: Add Gitlab/ModelsInheritApplicationRecordCop

Dan Davison requested to merge dd-rails5-applicationrecord-cop into master

What does this MR do?

The Rails 4->5 upgrade requires that existing/new models inherit from ApplicationRecord instead of ActiveRecord::Base

This MR introduces a new cop that will catch newly introduced models that inherit the old ActiveRecord::Base

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Merge request reports