Project

General

Profile

Actions

Defect #34985

closed

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

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

Added by Pavel Rosický over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails support
Target version:
-
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 1 (0 open — 1 closed)

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

Updated by Pavel Rosický over 5 years ago Actions #1

refs #29914

Updated by Marius BĂLTEANU over 5 years ago Actions #2

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

Updated by Marius BĂLTEANU over 5 years ago Actions #3

  • Tracker changed from Patch to Defect

Updated by Go MAEDA over 5 years ago Actions #4

  • 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: PDF Atom