Project

General

Profile

Refactor #23355

Replace alias_method_chain with prepend

Added by Tomer Brisker over 2 years ago. Updated over 2 years ago.

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

Description

app/controllers/foreman_tasks/concerns/hosts_controller_extension.rb includes the alias_method_chain method which was removed in rails 5 and should be replaced with prepend.

Associated revisions

Revision 226d4523 (diff)
Added by Tomer Brisker over 2 years ago

Fixes #23355 - Replace alias_method_chain with prepend

This was most likely missed becuase the extention module is only
included when FOREMAN_TASKS_MONKEYS env variable is set to true.
The module has been updated to use the new module#prepend syntax.

History

#1 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-tasks/pull/333 added

#2 Updated by Anonymous over 2 years ago

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

#3 Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/theforeman/foreman-tasks/pull/355 added

Also available in: Atom PDF