Skip to content

Commit

Permalink
Merge pull request rails#19857 from sikachu/remove-alias-method-chain…
Browse files Browse the repository at this point in the history
…-doc

Clearify that alias_method_chain is deprecated
  • Loading branch information
rafaelfranca committed Apr 22, 2015
2 parents 5302d24 + 5bc7736 commit eb9e863
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions activesupport/lib/active_support/core_ext/module/aliasing.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit eb9e863

Please sign in to comment.