From 5bc7736806170a3a1e5004d9b8bce0d4a983d42d Mon Sep 17 00:00:00 2001 From: Prem Sichanugrist Date: Wed, 22 Apr 2015 12:03:34 -0400 Subject: Clearify that alias_method_chain is deprecated This was not clear on the API documentation that the method was deprecated in a982a42d766169c2170d7f100c2a5ceb5430efb1. --- activesupport/lib/active_support/core_ext/module/aliasing.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/core_ext/module/aliasing.rb b/activesupport/lib/active_support/core_ext/module/aliasing.rb index a4c40b25ff..b6934b9c54 100644 --- a/activesupport/lib/active_support/core_ext/module/aliasing.rb +++ b/activesupport/lib/active_support/core_ext/module/aliasing.rb @@ -1,4 +1,7 @@ class Module + # NOTE: This method is deprecated. Please use Module#prepend that + # comes with Ruby 2.0 or newer instead. + # # Encapsulates the common pattern of: # # alias_method :foo_without_feature, :foo -- cgit v1.2.3