Project

General

Custom queries

Profile

Actions

Refactor #21671

closed

Replace alias_method_chain with prepend

Added by Lukas Zapletal over 7 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Other plugins are already moving to this new Ruby 2.x feature and this is causing issues for example #14797

Stop using alias_method_chain and replace it with prepend, add a RuboCop rule that will enforce this.

https://www.justinweiss.com/articles/rails-5-module-number-prepend-and-the-end-of-alias-method-chain/

Actions #1

Updated by Lukas Zapletal over 7 years ago

  • Status changed from New to Duplicate

Dupe! #21205

Actions #2

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF