Project

General

Profile

Refactor #20956

Passing a class as a value in an Active Record query is deprecated

Added by Anonymous about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Related issues

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

Related to Foreman - Refactor #21036: Don't use class as class_name in associationsClosed2017-09-20

Associated revisions

Revision fb31c426 (diff)
Added by Dominic Cleal about 3 years ago

Fixes #20956 - Don't pass class constants to AR conditions

History

#1 Updated by Anonymous about 3 years ago

#2 Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4844 added

#3 Updated by Dominic Cleal about 3 years ago

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

#4 Updated by Anonymous about 3 years ago

  • Related to Refactor #21036: Don't use class as class_name in associations added

Also available in: Atom PDF