Skip to content
This repository
Browse code

Merge pull request #10165 from wangjohn/public_send_for_instance

Using public send instead of send for the PerThreadRegistry module.
  • Loading branch information...
commit 4658b0d48c6b339c504cb3273f5a1eb6960f85a4 2 parents bb61d2d + 60a5ac7
Rafael Mendonça França authored April 10, 2013
2  activesupport/lib/active_support/per_thread_registry.rb
@@ -35,7 +35,7 @@ def instance
35 35
     protected
36 36
 
37 37
       def method_missing(*args, &block)
38  
-        instance.send(*args, &block)
  38
+        instance.public_send(*args, &block)
39 39
       end
40 40
   end
41 41
 end

0 notes on commit 4658b0d

Please sign in to comment.
Something went wrong with that request. Please try again.