Project

General

Profile

Bug #24696

A class was passed to `:class_name` but we are expecting a string with Rails 5.2

Added by Ivan Necas almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

There are several places in openscap, where has_many :class_name option was passed with class, instead of class name: since Rails 5.2, this is not allowed anymore (it was not a good idea to do so before rails 5.2 as well)


Related issues

Related to Foreman - Tracker #21834: Rails 5.2 upgrade tasksClosed

Associated revisions

Revision acec7b52 (diff)
Added by Ivan Necas almost 2 years ago

Fixes #24696 - use string for :class_name attributes

Since Rails 5.2, passing class to `:class_name` is not allowed anymore.

Revision bae77f8a
Added by Ondřej Pražák almost 2 years ago

Merge pull request #352 from iNecas/fix-class-name

Fixes #24696 - use string for :class_name attributes

History

#1 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_openscap/pull/352 added

#2 Updated by Ivan Necas almost 2 years ago

#3 Updated by Ondřej Pražák almost 2 years ago

  • Status changed from Ready For Testing to Closed
  • Fixed in Releases foreman_openscap 0.10.3 added

Also available in: Atom PDF