diff --git a/activesupport/lib/active_support/core_ext/try.rb b/activesupport/lib/active_support/core_ext/try.rb index 54a38c5189..3de198d198 100644 --- a/activesupport/lib/active_support/core_ext/try.rb +++ b/activesupport/lib/active_support/core_ext/try.rb @@ -25,6 +25,7 @@ class Object def try(method, *args, &block) send(method, *args, &block) end + remove_method :try alias_method :try, :__send__ end