Project

General

Profile

Actions

Refactor #33985

closed

Tracker #33983: Cleanup core_extensions

Move identification methods to ApplicationRecord

Added by Ondřej Ezr over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
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
Actions #1

Updated by The Foreman Bot over 2 years ago

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

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 3.2.0 added
Actions #3

Updated by Ondřej Ezr over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF