Project

General

Profile

Actions

Refactor #12344

closed

Use Rails 4 update_all syntax migrations

Added by Daniel Lobato Garcia over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

update_all(old,new) is no longer valid. It should be changed to where(old).update_all(new)


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #4151: Add STI to reports and allow for registering new report typesClosedShlomi Zadok01/21/2014Actions
Actions

Also available in: Atom PDF