Actions
Maintenance #3238
closedInherit models from ApplicationRecord instead of ActiveRecord::Base
Start date:
04/09/2025
Due date:
04/09/2025
% Done:
100%
Estimated time:
Compatible Redmine Version:
6.0.z
Pull Request Link:
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_name
translating 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