Project

General

Profile

Actions

Refactor #21153

closed

Passing conditions to destroy_all is deprecated

Added by Anonymous about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Rails 5.0 says:

DEPRECATION WARNING: Passing conditions to destroy_all is deprecated and will be removed in Rails 5.1. To achieve the same use where(conditions).destroy_all.


Related issues 1 (0 open1 closed)

Related to Foreman - Tracker #15715: Rails 5.0 upgrade tasksResolved07/18/2016

Actions
Actions

Also available in: Atom PDF