Refactor #33986
Tracker #33983: Cleanup core_extensions
Move Callback classes to separate files
Pull request:
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
Associated revisions
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
Applied in changeset foreman|604dc716ef06935a4947a46129bc0ec9f94de0e6.
#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
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.