Skip to content

Rename base model to avoid Rails getting the wrong ApplicationRecord

Thong Kuah requested to merge resolve_ci_base_class_confusion into master

What does this MR do?

Fixes an issue with !64289 (merged), where all models under Ci inadvertently inherited from Ci::ApplicationRecord, when we only want Ci::InstanceVariable to do so.

No changelog because this feature is still in development, and only occurs when the ci db is configured in config/database.yml

The error:

Screen_Shot_2021-06-29_at_7.18.26_PM

Related issue: #333527 (closed)

Edited by Thong Kuah

Merge request reports