aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/per_thread_registry.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-04-10 07:16:03 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-04-10 07:16:03 -0700
commit4658b0d48c6b339c504cb3273f5a1eb6960f85a4 (patch)
treeab9f24623df47dd8a0cd9f6061875f2332f55d9c /activesupport/lib/active_support/per_thread_registry.rb
parentbb61d2defab7017807c310ac221c9e69d7f99d96 (diff)
parent60a5ac78b05f3116e30f2e9d2c86c2ed174fc144 (diff)
downloadrails-4658b0d48c6b339c504cb3273f5a1eb6960f85a4.tar.gz
rails-4658b0d48c6b339c504cb3273f5a1eb6960f85a4.tar.bz2
rails-4658b0d48c6b339c504cb3273f5a1eb6960f85a4.zip
Merge pull request #10165 from wangjohn/public_send_for_instance
Using public send instead of send for the PerThreadRegistry module.
Diffstat (limited to 'activesupport/lib/active_support/per_thread_registry.rb')
-rw-r--r--activesupport/lib/active_support/per_thread_registry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/per_thread_registry.rb b/activesupport/lib/active_support/per_thread_registry.rb
index b89ce2cbeb..fb9a4c0e33 100644
--- a/activesupport/lib/active_support/per_thread_registry.rb
+++ b/activesupport/lib/active_support/per_thread_registry.rb
@@ -35,7 +35,7 @@ module ActiveSupport
protected
def method_missing(*args, &block)
- instance.send(*args, &block)
+ instance.public_send(*args, &block)
end
end
end