Refactor #33985
Tracker #33983: Cleanup core_extensions
Move identification methods to ApplicationRecord
Pull request:
Fixed in Releases:
Found in Releases:
Description
We have many methods introduced by core_extensions to ActiveRecord::Base, today Rails have the concept of ApplicationRecord, we should move those methods there instead.
Methods:- id_and_type
- name_method
- to_label
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/8945 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|cc93a2006d089f85798869eb6dadabd8adbbbada.
Fixes #33985 - move identifiers to ApplicationRecord
Move identifiers to ApplicationRecord from core_extensions.