Project

General

Profile

Actions

Refactor #33985

closed

Tracker #33983: Cleanup core_extensions

Move identification methods to ApplicationRecord

Added by Ondřej Ezr about 3 years ago. Updated about 3 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

Also available in: Atom PDF