aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikac.hu>2015-04-22 12:03:34 -0400
committerPrem Sichanugrist <s@sikac.hu>2015-04-22 12:03:34 -0400
commit5bc7736806170a3a1e5004d9b8bce0d4a983d42d (patch)
treee246d376f01f15cc8eaeb4865369cfa28179f837 /activesupport/lib
parentcdbf68599416e6b248d1d0e5bcbbbf73b90f1f42 (diff)
downloadrails-5bc7736806170a3a1e5004d9b8bce0d4a983d42d.tar.gz
rails-5bc7736806170a3a1e5004d9b8bce0d4a983d42d.tar.bz2
rails-5bc7736806170a3a1e5004d9b8bce0d4a983d42d.zip
Clearify that alias_method_chain is deprecated
This was not clear on the API documentation that the method was deprecated in a982a42d766169c2170d7f100c2a5ceb5430efb1.
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/module/aliasing.rb3
1 files changed, 3 insertions, 0 deletions
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 <tt>Module#prepend</tt> that
+ # comes with Ruby 2.0 or newer instead.
+ #
# Encapsulates the common pattern of:
#
# alias_method :foo_without_feature, :foo