Project

General

Profile

Actions

Defect #34985

closed

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

Added by Pavel Rosický over 3 years ago. Updated over 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 #1

Updated by Pavel Rosický over 3 years ago

refs #29914

Actions #2

Updated by Marius BĂLTEANU over 3 years ago

  • Related to Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading added
Actions #3

Updated by Marius BĂLTEANU over 3 years ago

  • Tracker changed from Patch to Defect
Actions #4

Updated by Go MAEDA over 3 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch as a part of #29914.

Actions

Also available in: Atom PDF