Defect #26499

DEPRECATION WARNING due to changes in dirty attributes methods in Rails 5.1

Added by Go MAEDA about 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Rails support
Target version:-
Resolution: Affected version:

Description

A lot of DEPRECATION WARNING messages are displayed while running rake db:migrate (please see the attached file).
This is due to a change of Rails: https://github.com/rails/rails/pull/25337#issuecomment-225166796

deprecation-warning.txt Magnifier (15.5 KB) Go MAEDA, 2017-07-23 02:46


Related issues

Related to Redmine - Feature #23630: Migrate to Rails 5.2 Closed

Associated revisions

Revision 16855
Added by Jean-Philippe Lang about 1 year ago

Dirty attributes methods deprecations in Rails 5.1 (#26499).

Revision 16856
Added by Jean-Philippe Lang about 1 year ago

Fixed notification of previous assignee (#26499).

History

#1 Updated by Jean-Philippe Lang about 1 year ago

  • Subject changed from Rails 5.1: DEPRECATION WARNING while database migration to DEPRECATION WARNING due to changes in dirty attributes methods in Rails 5.1

Yes, not only in migrations but pretty much everywhere. I'm working on this.

#2 Updated by Jean-Philippe Lang about 1 year ago

#3 Updated by Jean-Philippe Lang about 1 year ago

  • Status changed from New to Closed
  • Target version deleted (4.0.0)

No more deprecation warnings when running tests or database migration.

Also available in: Atom PDF