aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-04-22 13:20:42 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-04-22 13:20:42 -0300
commiteb9e863648b3a3d255c13fefe9abd11a79401703 (patch)
tree7dd1405e90d5c7fa65b61b27236fdfa4685183b0 /activesupport
parent5302d244eb2f81cba1bb0f1f6c8319464c467706 (diff)
parent5bc7736806170a3a1e5004d9b8bce0d4a983d42d (diff)
downloadrails-eb9e863648b3a3d255c13fefe9abd11a79401703.tar.gz
rails-eb9e863648b3a3d255c13fefe9abd11a79401703.tar.bz2
rails-eb9e863648b3a3d255c13fefe9abd11a79401703.zip
Merge pull request #19857 from sikachu/remove-alias-method-chain-doc
Clearify that alias_method_chain is deprecated
Diffstat (limited to 'activesupport')
-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