Project

General

Profile

Actions

Refactor #32342

open

Move ActiveRecord monkey patches to ApplicationRecord

Added by Tomer Brisker about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Many of the patches added to ActiveRecord were added long time ago when there was no better way. Since Rails 5, there is ApplicationRecord which all records inherit from and should be used to add custom methods needed across the whole application.

No data to display

Actions

Also available in: Atom PDF