Project

General

Profile

Actions

Maintenance #3238

closed

Inherit models from ApplicationRecord instead of ActiveRecord::Base

Added by liaham 10 days ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/09/2025
Due date:
04/09/2025
% Done:

100%

Estimated time:
Compatible Redmine Version:
6.0.z

Description

Redmine 6 comes with a breaking change(*) for models. All models will inherit from ApplicationRecord nstead of ActiveRecord::Base. Moreover, ApplicationRecord includes a method human_attribute_nametranslating attribute names for rendering validation errors.

See https://www.redmine.org/issues/38975?tab=changesets for more details.


(*) Integrate this change into the next major version of this plugin!

Actions

Also available in: Atom PDF