Project

General

Profile

Bug #11813

Use new engines listing syntax

Added by Daniel Lobato Garcia almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Rails 4 deprecates Rails.application.railties.engines, the new syntax ::Rails::Engine.subclasses.map(&:instance) is needed to upgrade.


Related issues

Related to Foreman - Tracker #3157: Rails 4.1 upgrade tasksClosed2013-09-27

Associated revisions

Revision 978c5fd9 (diff)
Added by Daniel Lobato Garcia almost 4 years ago

Fixes #11813 - Use new engines listing syntax

Revision 783efdcc (diff)
Added by Daniel Lobato Garcia almost 4 years ago

Refs #11813 - Use new engines listing syntax in initializers

Revision 40cfadc7 (diff)
Added by Daniel Lobato Garcia almost 4 years ago

Refs #11813 - Use new engines listing syntax in initializers

(cherry picked from commit 783efdcc293d9c4540b373fe8c5c48ffb11857de)

History

#1 Updated by Daniel Lobato Garcia almost 4 years ago

#2 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2719 added
  • Pull request deleted ()

#3 Updated by Daniel Lobato Garcia almost 4 years ago

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

#4 Updated by Ohad Levy almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 63

#5 Updated by Dominic Cleal almost 4 years ago

  • Category set to Rails
  • Assignee set to Daniel Lobato Garcia

Also available in: Atom PDF