Project

General

Profile

Refactor #21153

Passing conditions to destroy_all is deprecated

Added by Anonymous almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

Related to Foreman - Tracker #15715: Rails 5.0 upgrade tasksResolved2016-07-18

Associated revisions

Revision b5bc526e (diff)
Added by Michael Moll almost 4 years ago

Fixes #21153 - Passing conditions to destroy_all is deprecated

History

#1 Updated by Anonymous almost 4 years ago

#2 Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/theforeman/foreman_discovery/pull/383 added

#3 Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF