From 10b99f2826c6baab0db9c9c57ddf600fe78356e5 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Mon, 15 Aug 2011 19:13:25 +0530 Subject: Need to include public_send --- activesupport/lib/active_support/core_ext/module/delegation.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/core_ext/module/delegation.rb b/activesupport/lib/active_support/core_ext/module/delegation.rb index fe17359a24..72988fa6b5 100644 --- a/activesupport/lib/active_support/core_ext/module/delegation.rb +++ b/activesupport/lib/active_support/core_ext/module/delegation.rb @@ -1,3 +1,4 @@ +require 'active_support/core_ext/object/public_send' class Module # Provides a delegate class method to easily expose contained objects' methods # as your own. Pass one or more methods (specified as symbols or strings) -- cgit v1.2.3