Project

General

Profile

Refactor #33986

Tracker #33983: Cleanup core_extensions

Move Callback classes to separate files

Added by Ondřej Ezr 6 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

We have Callback classes in a ActiveRecord::Base core_extensions, we should extract them to separate files.

  • EnsureNotUsedBy
  • EnsureNoCycle

Related issues

Related to Discovery - Bug #33998: EnsureNotUsedBy is not namespaced anymoreClosed
Related to OpenSCAP - Bug #33999: EnsureNotUsedBy is not namespaced anymoreClosed

Associated revisions

Revision 604dc716 (diff)
Added by Ondřej Ezr 6 months ago

Fixes #33986 - moves Callback ensures to separate files

We do not need to define the Ensure classes in core_extensions.
These are better off in separate files.

History

#1 Updated by The Foreman Bot 6 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8946 added

#2 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 3.2.0 added

#3 Updated by Ondřej Ezr 6 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Ondřej Ezr 6 months ago

  • Related to Bug #33998: EnsureNotUsedBy is not namespaced anymore added

#5 Updated by Ondřej Ezr 6 months ago

  • Related to Bug #33999: EnsureNotUsedBy is not namespaced anymore added

#6 Updated by Amit Upadhye 3 months ago

  • Category set to Rails

Also available in: Atom PDF