Project

General

Profile

Actions

Defect #34985

closed

Rails 6.1 replace ActiveModel::Errors #<< with #add

Added by Pavel Rosický about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

fixes
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in order to add an error is deprecated. Please call `ActiveModel::Errors#add` instead.


Files

errors.diff (496 Bytes) errors.diff Pavel Rosický, 2021-03-30 12:13

Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloadingClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF